Remove Scalar and replace it with f32 where it is used
Remove impl Into<Vector> from interfaces and replace it with Vector
Deprecate Line and Triangle
Motivation and Context
These changes make compile times faster, and remove unnecessary structs from the geometry module. Quicksilver doesn't provide robust collision detection anyway, and these old interfaces aren't used for Graphics anymore.
Checks
[x] I have read CONTRIBUTING.md.
[x] I have updated CHANGES.md, with [BREAKING] next to all breaking changes
[x] I have updated the documentation if necessary
[x] The example found in README.md compiles and functions like expected
Remove
Scalar
and replace it withf32
where it is used Removeimpl Into<Vector>
from interfaces and replace it withVector
DeprecateLine
andTriangle
Motivation and Context
These changes make compile times faster, and remove unnecessary structs from the geometry module. Quicksilver doesn't provide robust collision detection anyway, and these old interfaces aren't used for Graphics anymore.
Checks
CONTRIBUTING.md
.CHANGES.md
, with [BREAKING] next to all breaking changesREADME.md
compiles and functions like expected