|
Engine²
Open-source game engine written in C++.
|
Struct to hold parameters for creating a cloth. More...
#include <CreateShape.hpp>
Public Attributes | |
| uint32_t | width = 10u |
| uint32_t | height = 10u |
| Number of vertices along X axis (default: 10). | |
| float | spacing = 0.1f |
| Number of vertices along Y axis (default: 10). | |
| glm::vec3 | position = glm::vec3(0.0f) |
| Distance between adjacent vertices (default: 0.1). | |
| 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 cloth.
| uint32_t Object::Helper::CreateClothInfo::height = 10u |
Number of vertices along X axis (default: 10).
| glm::vec3 Object::Helper::CreateClothInfo::position = glm::vec3(0.0f) |
Distance between adjacent vertices (default: 0.1).
| glm::quat Object::Helper::CreateClothInfo::rotation = glm::quat(1.0f, 0.0f, 0.0f, 0.0f) |
Position in world space (default: origin).
| glm::vec3 Object::Helper::CreateClothInfo::scale = glm::vec3(1.0f) |
Rotation as quaternion (default: identity).
| float Object::Helper::CreateClothInfo::spacing = 0.1f |
Number of vertices along Y axis (default: 10).
| uint32_t Object::Helper::CreateClothInfo::width = 10u |