|
Engine²
Open-source game engine written in C++.
|
Struct to hold parameters for creating a cube. More...
#include <CreateShape.hpp>
Public Attributes | |
| float | size = 1.0f |
| glm::vec3 | position = glm::vec3(0.0f) |
| Side length of the cube (default: 1.0). | |
| glm::quat | rotation = glm::quat(1.0f, 0.0f, 0.0f, 0.0f) |
| Position in world space (default: origin). | |
| glm::vec3 | scale = glm::vec3(1.0f) |
| Rotation as quaternion (default: identity). | |
Struct to hold parameters for creating a cube.
| glm::vec3 Object::Helper::CreateCubeInfo::position = glm::vec3(0.0f) |
Side length of the cube (default: 1.0).
| glm::quat Object::Helper::CreateCubeInfo::rotation = glm::quat(1.0f, 0.0f, 0.0f, 0.0f) |
Position in world space (default: origin).
| glm::vec3 Object::Helper::CreateCubeInfo::scale = glm::vec3(1.0f) |
Rotation as quaternion (default: identity).
| float Object::Helper::CreateCubeInfo::size = 1.0f |