Skip to main content

Crate blitzkit

Crate blitzkit 

Source

Modules§

camera
collision
Shapes that can touch, and the one piece of movement the engine provides.
geometry
keyboard
lighting
One directional light, and the shading it produces.
mesh
3D geometry: what a mesh is made of, the shapes that ship with the engine, and the transform that places one in the world.
mouse
Mouse events, in the engine’s own terms.
renderer
shadow
Shadow mapping from the one directional light.
sound
teapot
The Utah teapot, from the control points Martin Newell measured in 1975.
texture
Images, from bytes to something a mesh can be drawn with.

Constants§

MAX_DELTA_TIME
Longest frame time handed to Game::update. Below 20 fps the game slows down instead of taking one large step.

Traits§

Game

Functions§

clamp_delta_time
Caps a frame time at MAX_DELTA_TIME. See specs/0002-frame-timing.md.
start