Optics Class Reference

#include <Optics.h>

Inheritance diagram for Optics:
Object

# Static Public Member Functions

static int16 calculateParallax (fixed_t z)

# Additional Inherited Members

- Private Member Functions inherited from Object
void constructor ()
 Class' constructor.
const void * getVTable ()
bool mutateTo (const void *targetClass)
- Static Private Member Functions inherited from Object
static Object getCast (void *object, ClassPointer targetClassGetClassMethod, ClassPointer baseClassGetClassMethod)
- Private Attributes inherited from Object
void * vTable
 Pointer to the class's virtual table.

# Detailed Description

Class Optics

Inherits from Object

Computes parallax.

Definition at line 28 of file Optics.h.

# Member Function Documentation

# calculateParallax()

static int16 Optics::calculateParallax ( fixed_t z)
inlinestatic

Calculate parallax based on the z coordinate.

Parameters
z3D coordinate
Returns
Parallax value (in pixels)

The documentation for this class was generated from the following file: