GREATERTHANEQUAL(3G)

πŸ“¦
version 1.0~svn33624 Β· 4 versions
, in ubuntu jammy, ubuntu noble

πŸ’– GREATERTHANEQUAL β€” the 3G girlies' page πŸ’–

okay so bestie, welcome to GREATERTHANEQUAL(3G) β€” and yes, the manual name up top is literally GREATERTHANEQUAL and it lives in section 3G (that's the OpenGL shading language girlies, iykyk) ✨


✨ NAME ✨

greaterThanEqual β€” do a component-wise greater-than-or-equal comparison of two vectors. like, for every lil slot in the vector, is x bigger-or-equal to y? bestie we're checking that. πŸ’…


πŸŽ€ DECLARATION πŸŽ€

here's the three glow-ups of this function, pick your fighter:

bvec greaterThanEqual(vec x, vec y);

bvec greaterThanEqual(ivec x, ivec y);

bvec greaterThanEqual(uvec x, uvec y);

πŸ¦‹ PARAMETERS πŸ¦‹

  • x β€” the first vector in the comparison operation. she's the one being measured against the other one πŸ‘‘
  • y β€” the second vector in the comparison operation. she's the benchmark, the vibe check, the standard πŸŽ€

🌸 DESCRIPTION 🌸

greaterThanEqual hands you back a boolean vector, and every element i in it is computed as:

x[i] β‰₯ y[i]

so element by element, slot by slot, she's asking "is this one greater than or equal to that one?" and answering with true or false per component. no cap. it's giving math but make it fashion. ✨


⭐ VERSION SUPPORT ⭐

bestie the original had a whole giant table so here's the tea, unrolled into something readable. these are the OpenGL Shading Language Versions where each overload actually shows up:

πŸ’œ greaterThanEqual (vec)

slays in every single version, no skips, no gaps:

  • 1.10 β€” βœ”
  • 1.20 β€” βœ”
  • 1.30 β€” βœ”
  • 1.40 β€” βœ”
  • 1.50 β€” βœ”
  • 3.30 β€” βœ”
  • 4.00 β€” βœ”
  • 4.10 β€” βœ”
  • 4.20 β€” βœ”
  • 4.30 β€” βœ”
  • 4.40 β€” βœ”
  • 4.50 β€” βœ”

πŸ’œ greaterThanEqual (ivec)

also perfect attendance, she's been here since day one:

  • 1.10 β€” βœ”
  • 1.20 β€” βœ”
  • 1.30 β€” βœ”
  • 1.40 β€” βœ”
  • 1.50 β€” βœ”
  • 3.30 β€” βœ”
  • 4.00 β€” βœ”
  • 4.10 β€” βœ”
  • 4.20 β€” βœ”
  • 4.30 β€” βœ”
  • 4.40 β€” βœ”
  • 4.50 β€” βœ”

πŸ’œ greaterThanEqual (uvec)

miss girl showed up fashionably late β€” she was NOT there at the start, but she's been iconic ever since 1.30:

  • 1.10 β€” -
  • 1.20 β€” -
  • 1.30 β€” βœ”
  • 1.40 β€” βœ”
  • 1.50 β€” βœ”
  • 3.30 β€” βœ”
  • 4.00 β€” βœ”
  • 4.10 β€” βœ”
  • 4.20 β€” βœ”
  • 4.30 β€” βœ”
  • 4.40 β€” βœ”
  • 4.50 β€” βœ”

πŸ‘€ SEE ALSO πŸ‘€

the whole comparison friend group, go say hi:

  • lessThan()
  • lessThanEqual()
  • greaterThan()
  • equal()
  • notEqual()
  • any()
  • all()
  • not()

Copyright Β© 2011-2014 Khronos Group. This material may be distributed subject to the terms and conditions set forth in the Open Publication License, v 1.0, 8 June 1999. http://opencontent.org/openpub/.


Copyright Β© 2011-2014 Khronos Group


lowkey important bestie: this page came from [FIXME: source] and it's dated 01/03/2018 β€” the header said [FIXME: manual] too, which is very "we'll fix it later" of them, but the vibes are immaculate anyway. 🫢

and that's the whole page, GREATERTHANEQUAL(3G) β€” go forth and compare component-wise, you absolute main character. πŸ’–βœ¨πŸŽ€πŸ¦‹πŸŒΈπŸ’…πŸ‘‘

πŸ“¦ where this page comes from