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

Method rect

src/graphics/batch.rs:163–165  ·  view source on GitHub ↗
(&mut self, rect: Rectangle, params: DrawParams)

Source from the content-addressed store, hash-verified

161 }
162
163 pub fn rect(&mut self, rect: Rectangle, params: DrawParams) {
164 self.push_sprite(None, Rectangle::ZERO, rect, params);
165 }
166
167 pub fn texture(&mut self, texture: &Texture, position: Vec2, params: DrawParams) {
168 self.push_sprite(

Callers

nothing calls this directly

Calls 1

push_spriteMethod · 0.80

Tested by

no test coverage detected