5#include "Foundation/Geometry/Glm.hpp"
6#include "Foundation/StringView.h"
7#include "Foundation/Reflection/Name.h"
77 glm::vec3 size = glm::vec3(1, 1, 1);
78 float arcStart = 0.0f;
83 hashValue =
Cogs::hash(definition.type, hashValue);
84 hashValue =
Cogs::hash(definition.refinement, hashValue);
85 hashValue =
Cogs::hash(definition.size, hashValue);
86 hashValue =
Cogs::hash(definition.arcStart, hashValue);
87 hashValue =
Cogs::hash(definition.arcEnd, hashValue);
Provides a weakly referenced view over the contents of a string.
@ Cube
Clip the outside of a cube,.
ShapeType
Shape types generated by mesh generator.
@ CubeTex2D
Cube shape with unit square texture coordinates over each face.
@ CircularArc
Flat circular arc with inner (size.x) and outer (size.y) radius on the XY plane. Can be extended (arc...
@ Cylinder
Generic cylinder shape.
@ SphereGeoTexCyl
Sphere shape with geodesic tessellation and cylindrical texture coordinates.
@ SphereGeoTexSph
Sphere shape with geodesic tessellation and spherical texture coordinates.
@ Sphere
Generic sphere shape.
@ Cone
Generic cone shape.
@ CoordSys
Simple coordinate system where X axis is red, Y axis is green and Z axis is blue.
Contains all Cogs related functionality.
constexpr size_t hash() noexcept
Simple getter function that returns the initial value for fnv1a hashing.
Defines creation values for a unique shape.