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 directionViewing direction of the face.
up
cpp
glm::vec3 upCamera up vector for the face.
right
cpp
glm::vec3 rightnormalize(cross(direction, up)).