[][src]Module myelin_engine::prelude

Prelude reexporting essential types When using the myelin engine, you can always start your code with

use myelin_engine::prelude::*;

Re-exports

pub use crate::object::*;
pub use crate::simulation::Id;
pub use crate::simulation::Simulation;
pub use crate::simulation::Snapshot;
pub use crate::world_interactor::WorldInteractor;

Structs

Aabb

An axix-aligned bounding box

ConvexHull

Finds the Convex Hull for a given set of Points in counter clockwise order.

ObjectBuilder

ObjectDescription factory, which can be used in order to configure the properties of a new object. Methods can be chained on it in order to configure it.

ObjectBuilderError

An error representing the values that have wrongly been ommited when building finished

Point

A point in space

Polygon

A convex polygon.

PolygonBuilder

Polygon factory, which can be used in order to configure the properties of a new polygon. Methods can be chained on it in order to configure it.

Radians

A radian confined to the range of [0.0; 2π)

Vector

A vector

Enums

RadiansError

The reason why a Radians instance could not be created