Cogs.Core
Public Types | Public Member Functions | Public Attributes | Static Public Attributes | List of all members
Cogs::Geometry::Vertex Struct Reference

Public Types

using List = std::vector< Vertex >
 

Public Member Functions

 Vertex (const glm::vec3 &vec, bool intersection=false)
 
 operator glm::vec3 () const
 

Public Attributes

glm::vec3 position
 
bool intersectionPoint
 

Static Public Attributes

static constexpr uint32_t None = 0xFFFFFFFF
 

Detailed Description

Definition at line 15 of file Polygon.cpp.

Member Typedef Documentation

◆ List

using Cogs::Geometry::Vertex::List = std::vector<Vertex>

Definition at line 16 of file Polygon.cpp.

Constructor & Destructor Documentation

◆ Vertex()

Cogs::Geometry::Vertex::Vertex ( const glm::vec3 &  vec,
bool  intersection = false 
)
inline

Definition at line 22 of file Polygon.cpp.

Member Function Documentation

◆ operator glm::vec3()

Cogs::Geometry::Vertex::operator glm::vec3 ( ) const
inline

Definition at line 26 of file Polygon.cpp.

Member Data Documentation

◆ intersectionPoint

bool Cogs::Geometry::Vertex::intersectionPoint

Definition at line 20 of file Polygon.cpp.

◆ None

constexpr uint32_t Cogs::Geometry::Vertex::None = 0xFFFFFFFF
staticconstexpr

Definition at line 17 of file Polygon.cpp.

◆ position

glm::vec3 Cogs::Geometry::Vertex::position

Definition at line 19 of file Polygon.cpp.


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