r/rustjerk • • 2d ago

Compilers hate this one trick!

There is abt 376 match arms btw

68 Upvotes

6 comments sorted by

26

u/Perceptes lol no jobs 2d ago

The underscore in Raw_Rot is the most offensive part of this.

16

u/quarterque 2d ago

Nice try branch predictor

IVec3::new(90.0 + f64::EPSILON, 0, 0)

4

u/Flimsy_Pumpkin_3812 2d ago

I mean this might be better
let New_Number = IVec3::new(

	Raw_IVEC.x.rem_euclid(360),

	Raw_IVEC.y.rem_euclid(360),

	Raw_IVEC.z.rem_euclid(360),

);

1

u/_choam_ 15h ago

Glam?