DelayedMatrix3::DelayedOp Struct Reference

#include <control.h>

Inheritance diagram for DelayedMatrix3::DelayedOp:
Inheritance graph
[legend]

List of all members.

Public Types

enum   OpCode {
  kPreTrans, kPreRotateX, kPreRotateY, kPreRotateZ,
  kPreRotate
}

Public Member Functions

  DelayedOp ()
  DelayedOp (const Point3 &p)
  DelayedOp (const Quat &q)
  DelayedOp (float x)
  DelayedOp (int, float y)
  DelayedOp (int, int, float z)

Public Attributes

OpCode  code
Quat  arg

Member Enumeration Documentation


Constructor & Destructor Documentation

DelayedOp ( ) [inline]
{}
DelayedOp ( const Point3 p ) [inline]
: code(kPreTrans), arg(p.x, p.y, p.z, 0.0f) {}
DelayedOp ( const Quat q ) [inline]
: code(kPreRotate), arg(q) {}
DelayedOp ( float  x ) [inline]
: code(kPreRotateX), arg(x, 0.0f, 0.0f, 0.0f) {}
DelayedOp ( int  ,
float  y 
) [inline]
         : code(kPreRotateY), arg(0.0f, y, 0.0f, 0.0f) {}
DelayedOp ( int  ,
int  ,
float  z 
) [inline]
         : code(kPreRotateZ), arg(0.0f, 0.0f, z, 0.0f) {}

Member Data Documentation