Docs.rs
moon-engine-0.1.1
moon-engine 0.1.1
Permalink
Docs.rs crate page
MIT
Links
Repository
crates.io
Source
Owners
polarvoid
Dependencies
console_error_panic_hook ^0.1.7
normal
optional
js-sys ^0.3.59
normal
nalgebra ^0.31.0
normal
wasm-bindgen ^0.2.79
normal
web-sys ^0.3.56
normal
wee_alloc ^0.4.5
normal
optional
wasm-bindgen-test ^0.3.29
dev
Versions
99.57%
of the crate is documented
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
moon_
engine
0.1.1
Module mesh
Module Items
Structs
In crate moon_
engine
moon_engine
Module
mesh
Copy item path
Source
Expand description
The definitions of
Vertex
,
Mesh
and their implementations.
Structs
§
Mesh
An indiced
Mesh
, stored along with it’s vertex array, index array and vertex buffer.
Vertex
The
Vertex
struct holds the data that will be later sent to WebGL in a
GL::ARRAY_BUFFER
. It consists of position and color vectors, and UV co-ordinates.