Starshatter_Open
Open source Starshatter engine
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Steer Struct Reference

#include <SteerAI.h>

List of all members.

Public Member Functions

 Steer ()
 Steer (double y, double p, double r, double b=0)
 Steer (const Steer &s)
Steeroperator= (const Steer &s)
Steer operator+ (const Steer &s) const
Steer operator- (const Steer &s) const
Steer operator* (double f) const
Steer operator/ (double f) const
Steeroperator+= (const Steer &s)
Steeroperator-= (const Steer &s)
double Magnitude () const
void Clear ()

Public Attributes

double yaw
double pitch
double roll
double brake
int stop

Detailed Description

Definition at line 29 of file SteerAI.h.


Constructor & Destructor Documentation

Steer::Steer ( )
inline

Definition at line 31 of file SteerAI.h.

Steer::Steer ( double  y,
double  p,
double  r,
double  b = 0 
)
inline

Definition at line 32 of file SteerAI.h.

Steer::Steer ( const Steer s)
inline

Definition at line 33 of file SteerAI.h.


Member Function Documentation

void Steer::Clear ( )
inline

Definition at line 47 of file SteerAI.h.

double Steer::Magnitude ( ) const

Definition at line 81 of file SteerAI.cpp.

Steer Steer::operator* ( double  f) const

Definition at line 38 of file SteerAI.cpp.

Steer Steer::operator+ ( const Steer s) const

Definition at line 28 of file SteerAI.cpp.

Steer & Steer::operator+= ( const Steer s)

Definition at line 49 of file SteerAI.cpp.

Steer Steer::operator- ( const Steer s) const

Definition at line 33 of file SteerAI.cpp.

Steer & Steer::operator-= ( const Steer s)

Definition at line 64 of file SteerAI.cpp.

Steer Steer::operator/ ( double  f) const

Definition at line 43 of file SteerAI.cpp.

Steer& Steer::operator= ( const Steer s)
inline

Definition at line 35 of file SteerAI.h.


Member Data Documentation

double Steer::brake

Definition at line 50 of file SteerAI.h.

double Steer::pitch

Definition at line 49 of file SteerAI.h.

double Steer::roll

Definition at line 49 of file SteerAI.h.

int Steer::stop

Definition at line 51 of file SteerAI.h.

double Steer::yaw

Definition at line 49 of file SteerAI.h.


The documentation for this struct was generated from the following files: