2D_Game_Engine
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
TriangleVertex Struct Reference

#include <structs.hpp>

Public Member Functions

 TriangleVertex ()
 
 TriangleVertex (Vec2 pos, Vec4 color, int layer)
 

Public Attributes

Vec2 position
 
Vec4 color
 
int layer
 

Detailed Description

Definition at line 57 of file structs.hpp.

Constructor & Destructor Documentation

◆ TriangleVertex() [1/2]

TriangleVertex::TriangleVertex ( )

Definition at line 13 of file structs.cpp.

◆ TriangleVertex() [2/2]

TriangleVertex::TriangleVertex ( Vec2 pos,
Vec4 color,
int layer )

Definition at line 14 of file structs.cpp.

Member Data Documentation

◆ color

Vec4 TriangleVertex::color

Definition at line 59 of file structs.hpp.

◆ layer

int TriangleVertex::layer

Definition at line 60 of file structs.hpp.

◆ position

Vec2 TriangleVertex::position

Definition at line 58 of file structs.hpp.


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