altEngine
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Public Attributes | List of all members
vec4 Class Reference

#include <vector.h>

Public Member Functions

 vec4 ()
 
 vec4 (float x, float y, float z, float w)
 
float magnitude ()
 
vec4normalize ()
 
vec4operator*= (const float scalar)
 
vec4operator+= (const vec4 &vec)
 
vec4operator+= (const float scalar)
 

Public Attributes

float x
 
float y
 
float z
 
float w
 

Constructor & Destructor Documentation

vec4::vec4 ( )
vec4::vec4 ( float  x,
float  y,
float  z,
float  w 
)

Member Function Documentation

float vec4::magnitude ( )

Here is the call graph for this function:

vec4 & vec4::normalize ( )

Here is the call graph for this function:

Here is the caller graph for this function:

vec4 & vec4::operator*= ( const float  scalar)
vec4 & vec4::operator+= ( const vec4 vec)
vec4 & vec4::operator+= ( const float  scalar)

Member Data Documentation

float vec4::w
float vec4::x
float vec4::y
float vec4::z

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