Vegastrike 0.5.1 rc1  1.0
Original sources for Vegastrike Evolved
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
IcePoint.h File Reference

Go to the source code of this file.

Classes

class  Point
 

Macros

#define CROSS2D(a, b)   (a.x*b.y - b.x*a.y)
 
#define TWEAKMASK   0x3fffff
 
#define TWEAKNOTMASK   ~TWEAKMASK
 
#define __ICEPOINT_H__
 
#define CROSS2D(a, b)   (a.x*b.y - b.x*a.y)
 
#define TWEAKMASK   0x3fffff
 
#define TWEAKNOTMASK   ~TWEAKMASK
 

Functions

FUNCTION ICEMATHS_API void Normalize1 (Point &a)
 
FUNCTION ICEMATHS_API void Normalize2 (Point &a)
 

Variables

const float EPSILON2 = 1.0e-20f
 

Detailed Description

Contains code for 3D vectors.

Author
Pierre Terdiman
Date
April, 4, 2000

Definition in file IcePoint.h.

Macro Definition Documentation

#define __ICEPOINT_H__

Definition at line 14 of file Opcode.h.

#define CROSS2D (   a,
  b 
)    (a.x*b.y - b.x*a.y)

Definition at line 22 of file Opcode.h.

#define CROSS2D (   a,
  b 
)    (a.x*b.y - b.x*a.y)
#define TWEAKMASK   0x3fffff

Definition at line 251 of file Opcode.h.

Referenced by Point::TweakSmaller().

#define TWEAKMASK   0x3fffff
#define TWEAKNOTMASK   ~TWEAKMASK

Definition at line 252 of file Opcode.h.

Referenced by Point::TweakSmaller().

#define TWEAKNOTMASK   ~TWEAKMASK

Function Documentation

FUNCTION ICEMATHS_API void Normalize1 ( Point a)
FUNCTION ICEMATHS_API void Normalize2 ( Point a)

Variable Documentation

const float EPSILON2 = 1.0e-20f

Definition at line 23 of file IcePoint.h.

Referenced by Point::ApproxZero().