(model: Model, position: Vec3, scale: number, tint: Color)
| 152 | } |
| 153 | |
| 154 | export function drawModel(model: Model, position: Vec3, scale: number, tint: Color): void { |
| 155 | bloom_draw_model(model.handle, position.x, position.y, position.z, scale, tint.r, tint.g, tint.b, tint.a); |
| 156 | } |
| 157 | |
| 158 | /// Draw a model with a Y-axis rotation (radians). RGBA is packed into |
| 159 | /// a single f64 (ARGB byte order) to keep the FFI to 7 args, dodging |
no test coverage detected