mirror of
https://github.com/EmbarkStudios/rust-gpu.git
synced 2024-11-22 06:45:13 +00:00
Update math_ext.rs
This commit is contained in:
parent
63b28d057d
commit
da0453d356
@ -78,7 +78,7 @@ impl MathExt for f32 {
|
||||
}
|
||||
|
||||
fn fract(self) -> f32 {
|
||||
self - self.floor()
|
||||
self - self.trunc()
|
||||
}
|
||||
|
||||
fn signum(self) -> f32 {
|
||||
|
Loading…
Reference in New Issue
Block a user