MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / IntersectsItself

Method IntersectsItself

Source/Engine/UI/TextRender.cpp:439–450  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

437}
438
439bool TextRender::IntersectsItself(const Ray& ray, Real& distance, Vector3& normal)
440{
441#if MODEL_USE_PRECISE_MESH_INTERSECTS
442 if (_box.Intersects(ray))
443 {
444 return _collisionProxy.Intersects(ray, _transform, distance, normal);
445 }
446 return false;
447#else
448 return _box.Intersects(ray, distance, normal);
449#endif
450}
451
452void TextRender::Serialize(SerializeStream& stream, const void* otherObj)
453{

Callers

nothing calls this directly

Calls 1

IntersectsMethod · 0.45

Tested by

no test coverage detected