Struct libsm64::Sm64 [−][src]
pub struct Sm64;
Expand description
The core interface to libsm64
Implementations
Create a new instance of Sm64, requires a Super Mario 64 rom to extra Mario’s texture and animation data from
Create a new instancec of Mario that spawns at the point indicated by x/y/z, he must be placed above a surface or an error will be returned
pub fn create_dynamic_surface(
&mut self,
geometry: &[LevelTriangle],
transform: SurfaceTransform
) -> DynamicSurface
pub fn create_dynamic_surface(
&mut self,
geometry: &[LevelTriangle],
transform: SurfaceTransform
) -> DynamicSurface
Create a dynamic surface that can have its position and rotation updated at runtime, good for moving platforms
Load the static level geometry, used for collision detection