MCPcopy Create free account
hub / github.com/davideberly/GeometricTools / WhichSide

Method WhichSide

GTE/Graphics/BspNode.cpp:259–263  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

257}
258
259int32_t BspNode::WhichSide(Vector4<float> const& point) const
260{
261 float dot = Dot(mWorldPlane, point);
262 return (dot > 0.0f ? +1 : (dot < 0.0f ? -1 : 0));
263}
264
265int32_t BspNode::WhichSide(std::shared_ptr<Camera> const& camera) const
266{

Callers 2

GetProjectionMatrixMethod · 0.45
IsVisibleMethod · 0.45

Calls 3

GetFrustumMethod · 0.80
DotFunction · 0.50
GetPositionMethod · 0.45

Tested by

no test coverage detected