bones icon indicating copy to clipboard operation
bones copied to clipboard

Get the schema `hash_fn` and `eq_fn` for the `Quat` type.

Open github-actions[bot] opened this issue 10 months ago • 0 comments

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


This issue was generated by todo-issue based on a TODO comment in db6560fbcc29b791e7cb2149bbd85c0497d03430.

github-actions[bot] avatar Aug 22 '23 14:08 github-actions[bot]