| 437 | } |
| 438 | |
| 439 | bool 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 | |
| 452 | void TextRender::Serialize(SerializeStream& stream, const void* otherObj) |
| 453 | { |
nothing calls this directly
no test coverage detected