Skip to content

raisin::ReflectionProbeCaptureFrame ​

struct · #include <rayrai/ReflectionProbe.hpp>

Camera basis used to capture one cubemap face (RayraiWindow::reflectionProbeCaptureFrame()).

Faces follow the OpenGL order +X, -X, +Y, -Y, +Z, -Z.

Public attributes ​

direction ​

cpp
glm::vec3 direction

Viewing direction of the face.

up ​

cpp
glm::vec3 up

Camera up vector for the face.

cpp
glm::vec3 right

normalize(cross(direction, up)).

RaiSim — physics for robotics and AI.