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

Method push

perro_source/api_modules/perro_resource_api/src/sub_apis/draw_2d.rs:23–25  ·  view source on GitHub ↗
(&self, shape: DrawShape2D, position: Vector2)

Source from the content-addressed store, hash-verified

21
22 #[inline]
23 pub fn push(&self, shape: DrawShape2D, position: Vector2) {
24 self.api.draw_2d_shape(shape, position);
25 }
26
27 #[inline]
28 pub fn circle(&self, center: Vector2, radius: f32, color: [f32; 4]) {

Callers 10

circleMethod · 0.45
ringMethod · 0.45
rectMethod · 0.45
rect_strokeMethod · 0.45
lineMethod · 0.45
polylineMethod · 0.45
polygonMethod · 0.45
pathMethod · 0.45
spriteMethod · 0.45
atlas_spriteMethod · 0.45

Calls 1

draw_2d_shapeMethod · 0.80

Tested by

no test coverage detected