Lightmetrica  0.0.1.50dbee3 (yosakoi)
 All Classes Functions Variables Typedefs Enumerations Enumerator
Public Member Functions | Public Attributes | List of all members
TVec4< T > Struct Template Reference

#include <math.vector.h>

Public Member Functions

LM_FORCE_INLINE TVec4 (const TVec2< T > &v)
 
LM_FORCE_INLINE TVec4 (const TVec3< T > &v)
 
LM_FORCE_INLINE TVec4 (const TVec4< T > &v)
 
LM_FORCE_INLINE TVec4 (const T &v)
 
LM_FORCE_INLINE TVec4 (const T &x, const T &y, const T &z, const T &w)
 
LM_FORCE_INLINE TVec4 (const TVec3< T > &v, const T &w)
 
LM_FORCE_INLINE T & operator[] (int i)
 
LM_FORCE_INLINE const T & operator[] (int i) const
 
LM_FORCE_INLINE TVec4< T > & operator= (const TVec4< T > &v)
 
LM_FORCE_INLINE TVec4< T > & operator+= (const TVec4< T > &v)
 
LM_FORCE_INLINE TVec4< T > & operator-= (const TVec4< T > &v)
 
LM_FORCE_INLINE TVec4< T > & operator*= (const TVec4< T > &v)
 
LM_FORCE_INLINE TVec4< T > & operator*= (const T &s)
 
LM_FORCE_INLINE TVec4< T > & operator/= (const TVec4< T > &v)
 
LM_FORCE_INLINE TVec4< T > & operator/= (const T &s)
 

Public Attributes

x
 
y
 
z
 
w
 

Detailed Description

template<typename T>
struct TVec4< T >

4D vector. Generic 4-dimensional vector.

Template Parameters
TInternal value type

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