cs sdk v 1.14 released

Home  |  Product  |  Documents  |  Tutorials  |  FAQ |   Download  |   Forum |   Contacts  |   Link  


  Cross Suit

 Cross Suit SDK

 Documents
      classes
 Starting...
           Tutorials

 LUA tutorials

   Support

  Forum
  q&a

 Product parts

 Virtual File system

 Virtual Render
 Virtual Machine
   

  Demo Games

   

 3D Engine

  gvSystem(dx9)

 Link

 

 

vertex3 Class Reference

#include <gv_types.h>

Collaboration diagram for vertex3:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 vertex3 (float a, float b, float c)
 vertex3 (float *pos)
 vertex3 (void)
vertex3 operator * (float a)
float operator * (const vertex3 &v) const
vertex3 operator+ (const vertex3 &v)
vertex3 operator- (const vertex3 &v)
vertex3 operator/ (float a)
vertex3 operator/= (float val)
vertex3 operator+= (const vertex3 &v)
vertex3 operator-= (const vertex3 &v)
int MaxIndex (void)
float & operator[] (int i)
int operator== (const vertex3 &v)
vertex3 Cross (vertex3 v)
float Length (void)
float Normalize (void)
vertex3 operator^ (const vertex3 &v) const
vertex3operator^= (const vertex3 &v)

Public Attributes

union {
   float   x
   float   u
   float   r
}; 
union {
   float   y
   float   v
   float   g
}; 
union {
   float   z
   float   q
   float   b
}; 

Detailed Description

Definition at line 173 of file gv_types.h.


Constructor & Destructor Documentation

vertex3::vertex3 ( float  a,
float  b,
float  c 
)

vertex3::vertex3 ( float *  pos  ) 

vertex3::vertex3 ( void   ) 


Member Function Documentation

vertex3 vertex3::operator * ( float  a  ) 

float vertex3::operator * ( const vertex3 v  )  const

vertex3 vertex3::operator+ ( const vertex3 v  ) 

vertex3 vertex3::operator- ( const vertex3 v  ) 

vertex3 vertex3::operator/ ( float  a  ) 

vertex3 vertex3::operator/= ( float  val  ) 

vertex3 vertex3::operator+= ( const vertex3 v  ) 

vertex3 vertex3::operator-= ( const vertex3 v  ) 

int vertex3::MaxIndex ( void   ) 

float& vertex3::operator[] ( int  i  ) 

int vertex3::operator== ( const vertex3 v  ) 

vertex3 vertex3::Cross ( vertex3  v  ) 

float vertex3::Length ( void   ) 

float vertex3::Normalize ( void   ) 

vertex3 vertex3::operator^ ( const vertex3 v  )  const

vertex3& vertex3::operator^= ( const vertex3 v  ) 


Member Data Documentation

float vertex3::x

Definition at line 181 of file gv_types.h.

float vertex3::u

Definition at line 182 of file gv_types.h.

float vertex3::r

Definition at line 183 of file gv_types.h.

union { ... }

float vertex3::y

Definition at line 186 of file gv_types.h.

float vertex3::v

Definition at line 187 of file gv_types.h.

float vertex3::g

Definition at line 188 of file gv_types.h.

union { ... }

float vertex3::z

Definition at line 191 of file gv_types.h.

float vertex3::q

Definition at line 192 of file gv_types.h.

float vertex3::b

Definition at line 193 of file gv_types.h.

union { ... }


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

Copyright(C) gvSystem & GamePlus All Rights Reserved.