Re-exportsยง
pub use self::camera::Camera;
pub use self::camera::CameraMode;
pub use self::debug::Debug;
pub use self::debug::DebugShape;
pub use self::debug::DebugShapeId;
pub use self::figure::FigureMgr;
pub use self::lod::Lod;
pub use self::particle::ParticleMgr;
pub use self::terrain::SpriteRenderContextLazy;
pub use self::terrain::Terrain;
pub use self::tether::TetherMgr;
pub use self::trail::TrailMgr;
Modulesยง
Structsยง
- Event
Light ๐ - Scene
- Scene
Data - Skybox ๐
Constantsยง
- CURSOR_
PAN_ ๐SCALE - EPSILON_
UPSILON ๐ - The minimum sin ฮณ we will use before switching to uniform mapping.
- LIGHT_
DIST_ ๐RADIUS - MAX_
LIGHT_ ๐COUNT - MAX_
POINT_ ๐LIGHT_ MATRICES_ COUNT - MAX_
SHADOW_ ๐COUNT - NUM_
DIRECTED_ ๐LIGHTS - RAIN_
THRESHOLD ๐ - The threashold for starting calculations with rain.
- RUNNING_
THRESHOLD ๐ - Above this speed is considered running Used for first person camera effects
- SHADOW_
DIST_ ๐RADIUS - SHADOW_
FAR ๐ - SHADOW_
MAX_ ๐DIST - SHADOW_
NEAR ๐ - ZOOM_
CAP_ ๐ADMIN - ZOOM_
CAP_ ๐PLAYER
Functionsยง
- compute_
scalar_ ๐fov - Approximate a scalar field of view angle using the parameterization from section 4.3 of Lloydโs thesis:
- compute_
warping_ ๐parameter - Compute a near-optimal warping parameter that helps minimize error in a shadow map.
- compute_
warping_ ๐parameter_ perspective - Compute a near-optimal warping parameter that falls off quickly enough when the warp angle goes past the minimum field of view angle, for perspective projections.
Type Aliasesยง
- Light
Data - is_daylight, array of active lights.