Optics Class Reference
#include <Optics.h>
Inheritance diagram for Optics:
![](../class_optics.png)
# Static Public Member Functions | |
static int16 | calculateParallax (fixed_t z) |
# Additional Inherited Members | |
![]() | |
void | constructor () |
Class' constructor. | |
const void * | getVTable () |
bool | mutateTo (const void *targetClass) |
![]() | |
static Object | getCast (void *object, ClassPointer targetClassGetClassMethod, ClassPointer baseClassGetClassMethod) |
![]() | |
void * | vTable |
Pointer to the class's virtual table. |
# Detailed Description
# Member Function Documentation
# calculateParallax()
Calculate parallax based on the z coordinate.
- Parameters
-
z 3D coordinate
- Returns
- Parallax value (in pixels)
The documentation for this class was generated from the following file:
- VUEngine-Core/source/Misc/Optics.h