Behaviours: gen_fsm.
The module implementing the 3D engine.
This module represents the 3D engine. It handles the collection of the objects of the world, providing the functions to add new objects and to change the view of the world. It also has the responsibility of triggering redrawing and activity execution.
add_object/1 | Adds a new object (represented by its pid) to the engine. |
left/1 | Changes the horizontal position of the camera. |
start_link/0 | Starts the engine. |
up/1 | Changes the height of the camera. |
zoom/1 | Changes the zoom of the camera. |
add_object(Object::ObjectPid) -> ok
Adds a new object (represented by its pid) to the engine.
left(PanLeft::number()) -> ok
Changes the horizontal position of the camera.
start_link() -> {ok, Pid}
Starts the engine.
up(PanUp::number()) -> ok
Changes the height of the camera.
zoom(Zoom::number()) -> ok
Changes the zoom of the camera.
Generated by EDoc, Nov 21 2007, 10:13:23.