Inexor
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | List of all members
svec Struct Reference

3 dimensional vector containing shorts. More...

#include <geom.hpp>

Public Member Functions

 svec ()
 
 svec (short x, short y, short z)
 
 svec (const ivec &v)
 
short & operator[] (int i)
 
short operator[] (int i) const
 

Public Attributes

union {
   struct {
short x
 
short y
 
short z
 
   } 
 
short v [3]
 
}; 
 

Detailed Description

3 dimensional vector containing shorts.

Constructor & Destructor Documentation

svec::svec ( )
inline
svec::svec ( short  x,
short  y,
short  z 
)
inline
svec::svec ( const ivec v)
inlineexplicit

Member Function Documentation

short& svec::operator[] ( int  i)
inline
short svec::operator[] ( int  i) const
inline

Member Data Documentation

union { ... }

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