MCPcopy Create free account
hub / github.com/17cupsofcoffee/nova / rotation

Method rotation

src/graphics/batch.rs:48–51  ·  view source on GitHub ↗
(mut self, rotation: f32)

Source from the content-addressed store, hash-verified

46 }
47
48 pub fn rotation(mut self, rotation: f32) -> Self {
49 self.rotation = rotation;
50 self
51 }
52
53 pub fn flip_x(mut self, flip: bool) -> Self {
54 self.flip.x = flip;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected