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

#include <math.vector.h>

Public Member Functions

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

Public Attributes

x
 
y
 
z
 

Detailed Description

template<typename T>
struct TVec3< T >

3D vector. Generic 3-dimensional vector.

Template Parameters
TInternal value type.

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