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

 

 

gvVector4 Struct Reference

#include <gv_types.h>

Collaboration diagram for gvVector4:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 gvVector4 (void)
 gvVector4 (float a, float b, float c, float d=1)
 gvVector4 (const gvVECTOR3 &vec)
 ~gvVector4 ()
gvVector4 operator- (void) const
gvVector4 operator+ (const gvVector4 &rhs) const
gvVector4 operator- (const gvVector4 &rhs) const
gvVector4 operator * (const float scalar) const
gvVector4 operator/ (const float scalar) const
float operator * (const gvVector4 &rhs) const
gvVector4 operator * (const gvMatrix &m) const
gvVector4operator *= (const gvMatrix &m)
gvVector4operator+= (const gvVector4 &rhs)
gvVector4operator-= (const gvVector4 &rhs)
gvVector4operator *= (const float scalar)
gvVector4operator/= (const float scalar)
void PerspectiveDivideOne (void)

Public Attributes

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

Friends

gvVector4 operator * (const float scalar, const gvVector4 &rhs)

Detailed Description

Definition at line 311 of file gv_types.h.


Constructor & Destructor Documentation

gvVector4::gvVector4 ( void   ) 

gvVector4::gvVector4 ( float  a,
float  b,
float  c,
float  d = 1 
)

gvVector4::gvVector4 ( const gvVECTOR3 vec  ) 

gvVector4::~gvVector4 (  ) 


Member Function Documentation

gvVector4 gvVector4::operator- ( void   )  const

gvVector4 gvVector4::operator+ ( const gvVector4 rhs  )  const

gvVector4 gvVector4::operator- ( const gvVector4 rhs  )  const

gvVector4 gvVector4::operator * ( const float  scalar  )  const

gvVector4 gvVector4::operator/ ( const float  scalar  )  const

float gvVector4::operator * ( const gvVector4 rhs  )  const

gvVector4 gvVector4::operator * ( const gvMatrix m  )  const

gvVector4& gvVector4::operator *= ( const gvMatrix m  ) 

gvVector4& gvVector4::operator+= ( const gvVector4 rhs  ) 

gvVector4& gvVector4::operator-= ( const gvVector4 rhs  ) 

gvVector4& gvVector4::operator *= ( const float  scalar  ) 

gvVector4& gvVector4::operator/= ( const float  scalar  ) 

void gvVector4::PerspectiveDivideOne ( void   ) 


Friends And Related Function Documentation

gvVector4 operator * ( const float  scalar,
const gvVector4 rhs 
) [friend]


Member Data Documentation

float gvVector4::x

Definition at line 313 of file gv_types.h.

float gvVector4::u

Definition at line 314 of file gv_types.h.

float gvVector4::r

Definition at line 315 of file gv_types.h.

union { ... }

float gvVector4::y

Definition at line 318 of file gv_types.h.

float gvVector4::v

Definition at line 319 of file gv_types.h.

float gvVector4::g

Definition at line 320 of file gv_types.h.

union { ... }

float gvVector4::z

Definition at line 323 of file gv_types.h.

float gvVector4::b

Definition at line 325 of file gv_types.h.

union { ... }

float gvVector4::w

Definition at line 328 of file gv_types.h.

Definition at line 329 of file gv_types.h.

float gvVector4::q

Definition at line 330 of file gv_types.h.

float gvVector4::a

Definition at line 331 of file gv_types.h.

union { ... }


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

Copyright(C) gvSystem & GamePlus All Rights Reserved.