Home
last modified time | relevance | path

Searched refs:cameraWorldMatrixComponent (Results 1 - 2 of 2) sorted by relevance

/foundation/graphic/graphic_3d/lume/Lume_3D/src/util/
H A Dpicking.cpp254 Math::Vec3 ScreenToWorld(const CameraComponent& cameraComponent, const WorldMatrixComponent& cameraWorldMatrixComponent, in ScreenToWorld() argument
264 auto const& worldFromView = cameraWorldMatrixComponent.matrix; in ScreenToWorld()
277 Ray RayFromCamera(const CameraComponent& cameraComponent, const WorldMatrixComponent& cameraWorldMatrixComponent, in RayFromCamera() argument
282 cameraComponent, cameraWorldMatrixComponent, Math::Vec3(screenCoordinate.x, screenCoordinate.y, 0.0f)); in RayFromCamera()
283 const auto direction = cameraWorldMatrixComponent.matrix * Math::Vec4(0.0f, 0.0f, -1.0f, 0.0f); in RayFromCamera()
287 const Math::Vec3& rayOrigin = Math::Vec3(cameraWorldMatrixComponent.matrix.w); in RayFromCamera()
289 cameraComponent, cameraWorldMatrixComponent, Math::Vec3(screenCoordinate.x, screenCoordinate.y, 1.0f)); in RayFromCamera()
/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/src/
H A Dscene_holder.cpp3111 if (auto cameraWorldMatrixComponent = worldMatrixManager->Read(camera)) { in RayFromCamera()
3116 cameraWorldMatrixComponent->matrix * BASE_NS::Math::Vec4(0.0f, 0.0f, -1.0f, 0.0f); in RayFromCamera()
3124 const auto rayOrigin = BASE_NS::Math::Vec3(cameraWorldMatrixComponent->matrix.w); in RayFromCamera()

Completed in 7 milliseconds