RIP to Float16, it's sad that Intel doesn't support you.

This commit is contained in:
Alex Zenla
2024-09-01 19:27:39 -04:00
committed by a dinosaur
parent b1f2f645f6
commit 4209a925c4
8 changed files with 35 additions and 40 deletions

View File

@ -4,13 +4,13 @@ struct Instance {
let position: SIMD3<Float>
let scale: SIMD3<Float>
let rotation: simd_quatf
let color: Color<Float16>
let color: Color<Float>
init(
position: SIMD3<Float> = .zero,
scale: SIMD3<Float> = .one,
rotation: simd_quatf = .identity,
color: Color<Float16> = .white
color: Color<Float> = .white
) {
self.position = position
self.scale = scale