Panda3D
Public Member Functions | Static Public Member Functions
LRotationf Class Reference

This is a unit quaternion representing a rotation. More...

#include "lrotation.h"

Inheritance diagram for LRotationf:
LQuaternionf LVecBase4f

List of all members.

Public Member Functions

 LRotationf (const LQuaternionf &)
 LRotationf (const LVecBase4f &copy)
 LRotationf (float, float, float, float)
 LRotationf (const LVector3f &, float)
 axis + angle (in degrees)
 LRotationf (const LMatrix3f &)
 lmatrix3
 LRotationf (const LMatrix4f &)
 lmatrix4
 LRotationf (float, float, float)
 Sets the rotation from the given Euler angles.
LRotationf operator* (float scalar) const
LRotationf operator* (const LRotationf &other) const
 Rotation * Rotation = Rotation.
LQuaternionf operator* (const LQuaternionf &other) const
 Rotation * Orientation = Orientation This is another meaningless operation, attempting to apply an orientation to a rotation.
LRotationf operator/ (float scalar) const

Static Public Member Functions

static TypeHandle get_class_type ()
static void init_type ()

Detailed Description

This is a unit quaternion representing a rotation.

Definition at line 86 of file lrotation.h.


Constructor & Destructor Documentation

LRotationf::LRotationf ( const LVector3f axis,
float  angle 
) [inline]

axis + angle (in degrees)

Definition at line 194 of file lrotation.h.

LRotationf::LRotationf ( const LMatrix3f m) [inline]

lmatrix3

Definition at line 174 of file lrotation.h.

LRotationf::LRotationf ( const LMatrix4f m) [inline]

lmatrix4

Definition at line 184 of file lrotation.h.

LRotationf::LRotationf ( float  h,
float  p,
float  r 
) [inline]

Sets the rotation from the given Euler angles.

Definition at line 211 of file lrotation.h.


Member Function Documentation

LRotationf LRotationf::operator* ( const LRotationf other) const [inline]

Rotation * Rotation = Rotation.

Definition at line 241 of file lrotation.h.

LQuaternionf LRotationf::operator* ( const LQuaternionf other) const [inline]

Rotation * Orientation = Orientation This is another meaningless operation, attempting to apply an orientation to a rotation.

Reimplemented from LQuaternionf.

Definition at line 253 of file lrotation.h.


The documentation for this class was generated from the following files:
 All Classes Functions Variables Enumerations