LightWrap++
AC++wrapperfortheLightWave3DSDK
vector3d.h File Reference

Base classes for vectors and vector math. More...

#include "lwpp/math.h"
+ Include dependency graph for vector3d.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  lwpp::Vector3< T >

Namespaces

namespace  lwpp
 contain Carbon specific code for the OSX XCode version platform_carbon.cpp lwpp

Macros

#define HALFPI   (PI*0.5)
#define PI   (3.14159265358979324)
#define TWOPI   (PI*2.0)

Functions

template<typename T >
void lwpp::CoordinateSystem (const Vector3< T > &v1, Vector3< T > *v2, Vector3< T > *v3)
 Create a coordinate system out of one vector.
template<typename T >
void lwpp::CoordinateSystem (const Vector3< T > &view, const Vector3< T > &normal, Vector3< T > *right, Vector3< T > *forward)
 Create a coordinate system out of two vectors, one being the normal, the other the viewing ray.
template<typename T >
Vector3< T > lwpp::Cross (Vector3< T > a, Vector3< T > b)
 Cross product of two Vector3.

Detailed Description

Base classes for vectors and vector math.

Version:
Id:
infinimapplugin.h 40 2005-12-29 01:14:28Z mwolf

Macro Definition Documentation

#define HALFPI   (PI*0.5)
#define PI   (3.14159265358979324)
#define TWOPI   (PI*2.0)