Estella 0.113.0
A fast 2D and 3D game engine powered by WebAssembly and ECS
Loading...
Searching...
No Matches
esengine::billboard::ViewAxes Struct Reference

The view's right, up and toward-the-viewer axes in the world, read off its view-projection. More...

#include <BillboardFacing.hpp>

Public Attributes

glm::vec3 right {1.0f, 0.0f, 0.0f}
glm::vec3 up {0.0f, 1.0f, 0.0f}
glm::vec3 back {0.0f, 0.0f, 1.0f}

Detailed Description

The view's right, up and toward-the-viewer axes in the world, read off its view-projection.

Definition at line 22 of file BillboardFacing.hpp.

Member Data Documentation

◆ back

glm::vec3 esengine::billboard::ViewAxes::back {0.0f, 0.0f, 1.0f}

◆ right

glm::vec3 esengine::billboard::ViewAxes::right {1.0f, 0.0f, 0.0f}

◆ up

glm::vec3 esengine::billboard::ViewAxes::up {0.0f, 1.0f, 0.0f}

The documentation for this struct was generated from the following file: