(position: Vec3, width: number, height: number, depth: number, color: Color, opts?: DrawCubeOpts)
| 219 | } |
| 220 | |
| 221 | export function drawCube(position: Vec3, width: number, height: number, depth: number, color: Color, opts?: DrawCubeOpts): void { |
| 222 | // Note: rotationY is accepted for API compatibility but applied only when native support exists |
| 223 | bloom_draw_cube(position.x, position.y, position.z, width, height, depth, color.r, color.g, color.b, color.a); |
| 224 | } |
| 225 | |
| 226 | export function drawCubeWires(position: Vec3, width: number, height: number, depth: number, color: Color): void { |
| 227 | bloom_draw_cube_wires(position.x, position.y, position.z, width, height, depth, color.r, color.g, color.b, color.a); |
no test coverage detected