[][src]Function specs_blit::load_rotations

pub fn load_rotations(sprite: BlitBuffer, rotations: u16) -> Result<SpriteRef>

Load a sprite buffer and place it onto the heap with a set amount of rotations.

Calls load_rotations_range with a range of (0.0, 360.0).

Returns an index that can be used in sprite components.