MCPcopy Create free account
hub / github.com/Hopson97/HopsonCraft / distanceToPoint

Method distanceToPoint

Source/Maths/Frustum.cpp:16–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14}
15
16float Plane::distanceToPoint(const Vector3& point) const
17{
18 return glm::dot(point, normal) + distance;
19}
20
21//calcuate matrix based on the projection * view matrix.
22void Frustum::update(const Matrix4& mat)

Callers 2

pointInFrustumMethod · 0.80
boxInFrustumMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected