[][src]Module dragon::core

Re-exports

pub use nalgebra as na;
pub use camera::Camera;
pub use mesh::Mesh;
pub use mesh::MeshRecipe;
pub use mesh::BasicMesh;
pub use mesh::SimpleMesh;
pub use transform::Transform3;

Modules

camera
mesh
transform

Structs

Orthographic3

A 3D orthographic projection stored as an homogeneous 4x4 matrix.

Perspective3

A 3D perspective projection stored as an homogeneous 4x4 matrix.

Unit

A wrapper that ensures the underlying algebraic entity has a unit norm.

Type Definitions

Isometry2

A 2-dimensional direct isometry using a unit complex number for its rotational part. Also known as a rigid-body motion, or as an element of SE(2).

Isometry3

A 3-dimensional direct isometry using a unit quaternion for its rotational part. Also known as a rigid-body motion, or as an element of SE(3).

Matrix4

A stack-allocated, column-major, 4x4 square matrix.

Point2

A statically sized 2-dimensional column point.

Point3

A statically sized 3-dimensional column point.

Translation3

A 3-dimensional translation.

UnitQuaternion

A unit quaternions. May be used to represent a rotation.

Vector2

A stack-allocated, 2-dimensional column vector.

Vector3

A stack-allocated, 3-dimensional column vector.