Bounds NaN issue

i’m in the middle of some code that requires the use of the Bounds struct and I started getting some weird behavior when using them. I took a screenshot of visual studio that reproduces the behavior, however I don’t understand why it’s happening.

[21288-\bounds.jpg|21288]

the top 2 lines simply create a new bounds and I set the min/max. as soon as I do, the y component becomes NaN…

so I re-created the entire scenario using vectors only. when I mimic, what appears to me, as the exact behavior, I get differing values… using vectors I get -inf… using the bounds struct I get NaN…

is this a bug?

please advise…

ok, so I feel pretty stupid lol. I was looking at min in the bounds struct, but testing max with my vectors… sigh… gonna be a long day…

there is another thing though… aren’t float.Maxvalue or float.MinValue valid values to use?