bones
bones copied to clipboard
Get the schema `hash_fn` and `eq_fn` for the `Quat` type.
Quats don't implement hash and eq by default because of floating point number issues, so we'll have to use a workaround like `CustomRawFns` below to create valid implementations of Hash and Eq over the floating points inside the Quat.
https://github.com/fishfolk/bones/blob/db6560fbcc29b791e7cb2149bbd85c0497d03430/framework_crates/bones_schema/src/std_impls.rs#L131-L138