MCPcopy Create free account
hub / github.com/axmolengine/axmol / transform

Method transform

core/3d/Terrain.cpp:1729–1734  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1727}
1728
1729void 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
1737bool Terrain::Triangle::getIntersectPoint(const Ray& ray, Vec3& intersectPoint) const

Callers 2

QuadTreeMethod · 0.45
preCalculateAABBMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected