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

panda/src/linmath/lvec2_ops_src.h File Reference

#include "lvec2_ops_src.I"

Go to the source code of this file.

Functions

INLINE_LINMATH FLOATNAME (LVecBase2) operator *(FLOATTYPE scalar
 Returns the indicated row of the matrix as a two-component vector, ignoring the last column.

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

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

INLINE_LINMATH FLOATTYPE dot (const FLOATNAME(LVecBase2)&a, const FLOATNAME(LVecBase2)&b)
INLINE_LINMATH FLOATTYPE length (const FLOATNAME(LVector2)&a)


Detailed Description

Definition in file lvec2_ops_src.h.


Function Documentation

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

Definition at line 62 of file lvec2_ops_src.I.

Referenced by StaticTextFont::find_character_gsets(), StaticTextFont::get_glyph(), and EggGroupNode::reverse_vertex_ordering().

INLINE_LINMATH FLOATNAME LVector2   ) 
 

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 LPoint2   ) 
 

This is a two-component point in space.

Definition at line 53 of file lcast_to_src.I.

INLINE_LINMATH FLOATNAME LVecBase2   ) 
 

Returns the indicated row of the matrix as a two-component vector, ignoring the last column.

The next element occupies the next position consecutively in memory.

Definition at line 23 of file lcast_to_src.I.

INLINE_LINMATH FLOATTYPE length const FLOATNAME(LVector2)&  a  ) 
 

Definition at line 73 of file lvec2_ops_src.I.


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