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

Function drawSphere

src/models/index.ts:230–232  ·  view source on GitHub ↗
(position: Vec3, radius: number, color: Color)

Source from the content-addressed store, hash-verified

228}
229
230export function drawSphere(position: Vec3, radius: number, color: Color): void {
231 bloom_draw_sphere(position.x, position.y, position.z, radius, color.r, color.g, color.b, color.a);
232}
233
234export function drawSphereWires(position: Vec3, radius: number, color: Color): void {
235 bloom_draw_sphere_wires(position.x, position.y, position.z, radius, color.r, color.g, color.b, color.a);

Callers 1

main.tsFile · 0.90

Calls 1

bloom_draw_sphereFunction · 0.50

Tested by

no test coverage detected