Home
last modified time | relevance | path

Searched refs:isCameraNegative (Results 1 - 4 of 4) sorted by relevance

/foundation/graphic/graphic_3d/lume/Lume_3D/src/util/
H A Dscene_util.h34 BASE_NS::Math::Mat4X4 CalculateProjectionMatrix(const CameraComponent& cameraComponent, bool& isCameraNegative);
H A Dpicking.cpp260 bool isCameraNegative = false; in ScreenToWorld() local
262 Math::Inverse(CameraMatrixUtil::CalculateProjectionMatrix(cameraComponent, isCameraNegative)); in ScreenToWorld()
335 bool isCameraNegative = false; in WorldToScreen() local
336 Math::Mat4X4 viewToProj = CameraMatrixUtil::CalculateProjectionMatrix(cameraComponent, isCameraNegative); in WorldToScreen()
H A Dscene_util.cpp63 Math::Mat4X4 CalculateProjectionMatrix(const CameraComponent& cameraComponent, bool& isCameraNegative) in CalculateProjectionMatrix() argument
107 isCameraNegative = Math::Determinant(cameraComponent.customProjectionMatrix) < 0.0f; in CalculateProjectionMatrix()
/foundation/graphic/graphic_3d/lume/Lume_3D/src/ecs/systems/
H A Drender_system.cpp1863 bool isCameraNegative = determinant < 0.0f;
1864 const auto proj = CameraMatrixUtil::CalculateProjectionMatrix(component, isCameraNegative);
1876 camera.flags |= (rcFlags | ((isCameraNegative) ? RenderCamera::CAMERA_FLAG_INVERSE_WINDING_BIT : 0));

Completed in 11 milliseconds