Public Member Functions | |
Scene (Myst3Engine *vm) | |
Common::Rect | getPosition () const override |
Common::Rect | getOriginalPosition () const override |
void | updateCamera (Common::Point &mouse) |
void | updateMouseSpeed () |
void | screenPosToDirection (const Common::Point &screen, float &pitch, float &heading) const |
void | drawSunspotFlare (const SunSpot &s) |
float | distanceToZone (float spotHeading, float spotPitch, float spotRadius, float heading, float pitch) |
Public Member Functions inherited from Myst3::Window | |
Common::Point | getCenter () const |
Common::Point | screenPosToWindowPos (const Common::Point &screen) const |
Common::Point | scalePoint (const Common::Point &screen) const |
Public Member Functions inherited from Myst3::Drawable | |
virtual void | draw () |
virtual void | drawOverlay () |
bool | isConstrainedToWindow () const |
bool | is3D () const |
bool | isScaled () const |
Static Public Member Functions | |
static Math::Vector3d | directionToVector (float pitch, float heading) |
Additional Inherited Members | |
Protected Attributes inherited from Myst3::Drawable | |
bool | _isConstrainedToWindow |
bool | _is3D |
bool | _scaled |
|
overridevirtual |
Get the window position in screen coordinates
Implements Myst3::Window.
|
overridevirtual |
Get the window position in original (640x480) screen coordinates
Implements Myst3::Window.