|
Engine²
Open-source game engine written in C++.
|
Struct to hold parameters for creating a sphere. More...
#include <CreateShape.hpp>
Public Attributes | |
| float | radius = 0.5f |
| glm::vec3 | position = glm::vec3(0.0f) |
| Radius of the sphere (default: 0.5). | |
| 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). | |
| uint32_t | segments = 32u |
| Scale factor (default: 1.0). | |
| uint32_t | rings = 16u |
| Number of horizontal segments (default: 32). | |
Struct to hold parameters for creating a sphere.
| glm::vec3 Object::Helper::CreateSphereInfo::position = glm::vec3(0.0f) |
Radius of the sphere (default: 0.5).
| float Object::Helper::CreateSphereInfo::radius = 0.5f |
| uint32_t Object::Helper::CreateSphereInfo::rings = 16u |
Number of horizontal segments (default: 32).
| glm::quat Object::Helper::CreateSphereInfo::rotation = glm::quat(1.0f, 0.0f, 0.0f, 0.0f) |
Position in world space (default: origin).
| glm::vec3 Object::Helper::CreateSphereInfo::scale = glm::vec3(1.0f) |
Rotation as quaternion (default: identity).
| uint32_t Object::Helper::CreateSphereInfo::segments = 32u |
Scale factor (default: 1.0).