GREATERTHANEQUAL(3G)
π 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 π
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 (again, she said it twice, and honestly? valid) π
Copyright Β© 2011-2014 Khronos Group
lowkey important bestie: this page came from[FIXME: source]and it's dated01/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
- ubuntu jammy: opengl-4-man-doc 1.0~svn33624-1 Β· SGI-Free-Software-B-License-2
- ubuntu noble: opengl-4-man-doc 1.0~svn33624-1 Β· SGI-Free-Software-B-License-2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms