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

panda/src/linmath/lvec4_ops_src.I File Reference

Go to the source code of this file.

Functions

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

INLINE_LINMATH FLOATNAME (LPoint4) operator *(FLOATTYPE scalar
 This is a four-component point in space.

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

INLINE_LINMATH FLOATTYPE dot (const FLOATNAME(LVecBase4)&a, const FLOATNAME(LVecBase4)&b)
INLINE_LINMATH FLOATTYPE length (const FLOATNAME(LVector4)&a)


Detailed Description

Definition in file lvec4_ops_src.I.


Function Documentation

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

Definition at line 63 of file lvec4_ops_src.I.

Referenced by CollisionSphere::fill_viz_geom(), MesherStrip< PrimType >::is_coplanar_with(), and LOD::xform().

INLINE_LINMATH FLOATNAME LVector4   ) 
 

Returns a normalized vector from the given vector.

Returns true if the vector was normalized, false if it was a zero-length vector.

INLINE_LINMATH FLOATNAME LPoint4   ) 
 

This is a four-component point in space.

Definition at line 63 of file lcast_to_src.I.

References FLOATNAME2, and INLINE_LINMATH.

INLINE_LINMATH FLOATNAME LVecBase4   ) 
 

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(LVector4)&  a  ) 
 

Definition at line 75 of file lvec4_ops_src.I.

Referenced by herc_idle(), and CollisionSphere::test_intersection().


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