| 1727 | } |
| 1728 | |
| 1729 | void Terrain::Triangle::transform(const ax::Mat4& matrix) |
| 1730 | { |
| 1731 | matrix.transformPoint(&_p1); |
| 1732 | matrix.transformPoint(&_p2); |
| 1733 | matrix.transformPoint(&_p3); |
| 1734 | } |
| 1735 | |
| 1736 | // Please refer to 3D Math Primer for Graphics and Game Development |
| 1737 | bool Terrain::Triangle::getIntersectPoint(const Ray& ray, Vec3& intersectPoint) const |
no outgoing calls
no test coverage detected