Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

panda/src/linmath/lvec3_ops_src.I File Reference

Go to the source code of this file.

Functions

INLINE_LINMATH FLOATNAME (LVecBase3) operator *(FLOATTYPE scalar
 This is the base class for all three-component vectors and points.

INLINE_LINMATH FLOATNAME (LPoint3) operator *(FLOATTYPE scalar
 Returns an arbitrary point in the plane.

INLINE_LINMATH FLOATNAME (LVector3) operator *(FLOATTYPE scalar
 Returns a normalized vector from the given vector.

INLINE_LINMATH FLOATTYPE dot (const FLOATNAME(LVecBase3)&a, const FLOATNAME(LVecBase3)&b)
INLINE_LINMATH FLOATTYPE length (const FLOATNAME(LVector3)&a)


Detailed Description

Definition in file lvec3_ops_src.I.


Function Documentation

INLINE_LINMATH FLOATTYPE dot const FLOATNAME(LVecBase3)&  a,
const FLOATNAME(LVecBase3)&  b
 

Definition at line 64 of file lvec3_ops_src.I.

INLINE_LINMATH FLOATNAME LVector3   ) 
 

Returns a normalized vector from the given vector.

Some of the methods are slightly different between LPoint3 and LVector3; in particular, subtraction of two points yields a vector, while addition of a vector and a point yields a point.

INLINE_LINMATH FLOATNAME LPoint3   ) 
 

Returns an arbitrary point in the plane.

This can be used along with the normal returned by get_normal() to reconstruct the plane.

INLINE_LINMATH FLOATNAME LVecBase3   ) 
 

This is the base class for all three-component vectors and points.

The remaining elements occupy the next positions consecutively in memory.

INLINE_LINMATH FLOATTYPE length const FLOATNAME(LVector3)&  a  ) 
 

Definition at line 101 of file lvec3_ops_src.I.


Generated on Fri May 2 00:45:52 2003 for Panda by doxygen1.3