Expand description

Moon Engine

Re-exports

pub use math::*;

Modules

The Camera struct.

Definition of the Collider and Collide traits, as well as simple Colliders.

The Component trait.

A collection of functions and traits related to WebGl2RenderingContext, as well as the GL alias.

The InputManager struct.

Math related functionality, and aliases to nalgebra structs.

The definitions of Vertex, Mesh and their implementations.

The Renderer annd Quad structs. Used for rendering.

The Shader struct, and ShaderType enum.

The Texture and SubTexture structs.

The User-Interface.

Utilities that make working with Rust and WASM much easier.

Web related utilities and the Canvas alias to web_sys::HtmlCanvasElement

Macros

A macro that can be used to write output to the browser

Structs

The Application struct acts as the communicator between the browser and the game logic. It consists of calls made from JavaScript.