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

Method scratch_reset

native/shared/src/physics_jolt.rs:109–112  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

107 // -------------------------------------------------------- Scratch buffer
108
109 pub fn scratch_reset(&mut self) {
110 self.scratch_f32.clear();
111 self.scratch_u32.clear();
112 }
113 pub fn scratch_push_f32(&mut self, v: f32) { self.scratch_f32.push(v); }
114 pub fn scratch_push_u32(&mut self, v: u32) { self.scratch_u32.push(v); }
115

Callers

nothing calls this directly

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected