Expand description
Moon Engine
Re-exports§
pub use math::*;
Modules§
- camera
- The
Camerastruct. - collider
- Definition of the
ColliderandCollidetraits, as well as simple Colliders. - component
- The
Componenttrait. - gl
- A collection of functions and traits related to
WebGl2RenderingContext, as well as theGLalias. - input
- The
InputManagerstruct. - math
- Math related functionality, and aliases to
nalgebrastructs. - mesh
- The definitions of
Vertex,Meshand their implementations. - particle
- The
ParticleandParticleSystemstructs. - renderer
- The
RendereranndQuadstructs. Used for rendering. - shader
- The
Shaderstruct, andShaderTypeenum. - texture
- The
TextureandSubTexturestructs. - transform
- The
TransformansTransform2Dstructs. - ui
- The User-Interface.
- utils
- Utilities that make working with Rust and WASM much easier.
- web
- Web related utilities and the
Canvasalias to web_sys::HtmlCanvasElement
Macros§
- console_
log - A macro that can be used to write output to the browser
Structs§
- Application
- The
Applicationstruct acts as the communicator between the browser and the game logic. It consists of calls made from JavaScript.