r/rustjerk • • 8d ago

Compilers hate this one trick!

There is abt 376 match arms btw

88 Upvotes

6 comments sorted by

35

u/Perceptes lol no jobs 8d ago

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

20

u/quarterque 8d ago

Nice try branch predictor

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

6

u/Flimsy_Pumpkin_3812 8d 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),

);

2

u/_choam_ 6d ago

Glam?