MCPcopy Create free account
hub / github.com/CesiumGS/cesium-native / pointInClipVolume

Function pointInClipVolume

CesiumGeometry/test/TestTransforms.cpp:108–112  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

106
107namespace {
108bool pointInClipVolume(const glm::dvec4& point) {
109 const double w = point.w;
110 return -w <= point.x && point.x <= w && -w <= point.y && point.y <= w &&
111 0.0 <= point.z && point.z <= w;
112}
113} // namespace
114TEST_CASE("Test perspective projection matrices") {
115 const double horizontalFieldOfView =

Callers 1

TestTransforms.cppFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected