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

Function drawGrid

src/models/index.ts:246–248  ·  view source on GitHub ↗
(slices: number, spacing: number)

Source from the content-addressed store, hash-verified

244}
245
246export function drawGrid(slices: number, spacing: number): void {
247 bloom_draw_grid(slices, spacing);
248}
249
250export function drawRay(origin: Vec3, direction: Vec3, color: Color): void {
251 bloom_draw_ray(origin.x, origin.y, origin.z, direction.x, direction.y, direction.z, color.r, color.g, color.b, color.a);

Callers 7

main.tsFile · 0.90
main.tsFile · 0.85
interactive.tsFile · 0.85
room.tsFile · 0.85
main.tsFile · 0.85
shadows.tsFile · 0.85
r3f-bridge.tsFile · 0.85

Calls 1

bloom_draw_gridFunction · 0.50

Tested by

no test coverage detected