PGE Engine
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Macros Pages
Public Member Functions | Public Attributes | List of all members
Vec3 Struct Reference

Simplify handling of 3 dimensional coordinate. More...

Public Member Functions

 Vec3 ()
 Default constructor.
 
 Vec3 (float a_x, float a_y, float a_z)
 Construct from three elements.
 
Vec3 operator+ (const Vec3 &a_other) const
 Add two vectors and return result.
 

Public Attributes

float v [3]
 3 float components for axes or dimensions
 

Detailed Description

Simplify handling of 3 dimensional coordinate.


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