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

panda/src/mathutil/rotate_to_src.cxx File Reference

Go to the source code of this file.

Functions

void _rotate_to (FLOATNAME(LMatrix3)&mat, const FLOATNAME(LVector3)&a, const FLOATNAME(LVector3)&b)
 Computes the matrix necessary to rotate vector a onto vector b.

void rotate_to (FLOATNAME(LMatrix3)&mat, const FLOATNAME(LVector3)&a, const FLOATNAME(LVector3)&b)
void rotate_to (FLOATNAME(LMatrix4)&mat, const FLOATNAME(LVector3)&a, const FLOATNAME(LVector3)&b)


Detailed Description

Definition in file rotate_to_src.cxx.


Function Documentation

void _rotate_to FLOATNAME(LMatrix3)&  mat,
const FLOATNAME(LVector3)&  a,
const FLOATNAME(LVector3)&  b
[static]
 

Computes the matrix necessary to rotate vector a onto vector b.

It is assumed that both vectors are normalized.

Definition at line 34 of file rotate_to_src.cxx.

References FLOATNAME.

void rotate_to FLOATNAME(LMatrix4)&  mat,
const FLOATNAME(LVector3)&  a,
const FLOATNAME(LVector3)&  b
 

Definition at line 90 of file rotate_to_src.cxx.

void rotate_to FLOATNAME(LMatrix3)&  mat,
const FLOATNAME(LVector3)&  a,
const FLOATNAME(LVector3)&  b
 

Definition at line 85 of file rotate_to_src.cxx.


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