MCPcopy Create free account
hub / github.com/PerroEngine/Perro / ring

Method ring

perro_source/api_modules/perro_resource_api/src/sub_apis/draw_2d.rs:33–35  ·  view source on GitHub ↗
(&self, center: Vector2, radius: f32, color: [f32; 4], thickness: f32)

Source from the content-addressed store, hash-verified

31
32 #[inline]
33 pub fn ring(&self, center: Vector2, radius: f32, color: [f32; 4], thickness: f32) {
34 self.push(DrawShape2D::ring(radius, color.into(), thickness), center);
35 }
36
37 #[inline]
38 pub fn rect(&self, center: Vector2, size: Vector2, color: [f32; 4]) {

Callers

nothing calls this directly

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected