MCPcopy Create free account
hub / github.com/TheRedDeveloper/ply-engine / radians

Method radians

src/elements.rs:338–341  ·  view source on GitHub ↗
(&mut self, radians: f32)

Source from the content-addressed store, hash-verified

336 /// Sets the rotation angle in radians.
337 #[inline]
338 pub fn radians(&mut self, radians: f32) -> &mut Self {
339 self.config.rotation_radians = radians;
340 self
341 }
342
343 /// Sets the rotation pivot as normalized coordinates (0.0–1.0).
344 /// Default is (0.5, 0.5) = center of the element.

Callers 1

Calls

no outgoing calls

Tested by 1