Expand description
Moon Engine
Re-exports§
pub use math::*;
Modules§
- camera
- The
Camera
struct. - collider
- Definition of the
Collider
andCollide
traits, as well as simple Colliders. - component
- The
Component
trait. - gl
- A collection of functions and traits related to
WebGl2RenderingContext
, as well as theGL
alias. - input
- The
InputManager
struct. - math
- Math related functionality, and aliases to
nalgebra
structs. - mesh
- The definitions of
Vertex
,Mesh
and their implementations. - particle
- The
Particle
andParticleSystem
structs. - renderer
- The
Renderer
anndQuad
structs. Used for rendering. - shader
- The
Shader
struct, andShaderType
enum. - texture
- The
Texture
andSubTexture
structs. - transform
- The
Transform
ansTransform2D
structs. - ui
- The User-Interface.
- utils
- Utilities that make working with Rust and WASM much easier.
- web
- Web related utilities and the
Canvas
alias to web_sys::HtmlCanvasElement
Macros§
- console_
log - A macro that can be used to write output to the browser
Structs§
- Application
- The
Application
struct acts as the communicator between the browser and the game logic. It consists of calls made from JavaScript.