Polyphase Game Engine
Loading...
Searching...
No Matches
Line Struct Reference

#include <Line.h>

Public Member Functions

 Line (glm::vec3 start, glm::vec3 end, glm::vec4 color, float lifetime)
 
 Line ()
 
bool operator== (const Line &other) const
 
bool operator!= (const Line &other) const
 

Public Attributes

glm::vec3 mStart = glm::vec3(0.0f, 0.0f, 0.0f)
 
glm::vec3 mEnd = glm::vec3(0.0f, 1.0f, 0.0f)
 
glm::vec4 mColor = glm::vec4(1.0f, 1.0f, 1.0f, 1.0f)
 
float mLifetime = 0.0f
 

Constructor & Destructor Documentation

◆ Line() [1/2]

Line::Line ( glm::vec3  start,
glm::vec3  end,
glm::vec4  color,
float  lifetime 
)
inline

◆ Line() [2/2]

Line::Line ( )
inline

Member Function Documentation

◆ operator!=()

bool Line::operator!= ( const Line other) const
inline

◆ operator==()

bool Line::operator== ( const Line other) const
inline

Member Data Documentation

◆ mColor

glm::vec4 Line::mColor = glm::vec4(1.0f, 1.0f, 1.0f, 1.0f)

◆ mEnd

glm::vec3 Line::mEnd = glm::vec3(0.0f, 1.0f, 0.0f)

◆ mLifetime

float Line::mLifetime = 0.0f

◆ mStart

glm::vec3 Line::mStart = glm::vec3(0.0f, 0.0f, 0.0f)

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