MCPcopy Create free account
hub / github.com/Bloom-Engine/engine / draw_model_mesh

Method draw_model_mesh

native/shared/src/renderer/mod.rs:12700–12702  ·  view source on GitHub ↗
(&mut self, vertices: &[Vertex3D], indices: &[u32], position: [f32; 3], scale: f32)

Source from the content-addressed store, hash-verified

12698 }
12699
12700 pub fn draw_model_mesh(&mut self, vertices: &[Vertex3D], indices: &[u32], position: [f32; 3], scale: f32) {
12701 self.draw_model_mesh_tinted(vertices, indices, position, scale, [1.0, 1.0, 1.0, 1.0], 0);
12702 }
12703
12704 /// Same as `draw_model_mesh_tinted` but applies a Y-axis rotation
12705 /// (radians) to the mesh local space before scale + translate.

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected