SbVec4s(3)
π NAME π
SbVec4s β bestie, this is the short-precision 4D vector class from the Coin manual (section 3, we're fancy like that). Four shorts, x y z w, living their best life in a tidy little array. Slay.
β¨ SYNOPSIS β¨
#include <Inventor/SbVec4s.h>
π«Ά Public Member Functions
SbVec4s (const short v[4])
SbVec4s (short x, short y, short z, short w)
SbVec4s (const SbVec4us &v)
SbVec4s (const SbVec4b &v)
SbVec4s (const SbVec4i32 &v)
SbVec4s (const SbVec4f &v)
SbVec4s (const SbVec4d &v)
SbVec4s & setValue (const short v[4])
SbVec4s & setValue (short x, short y, short z, short w)
SbVec4s & setValue (const SbVec4s &v)
SbVec4s & setValue (const SbVec4us &v)
SbVec4s & setValue (const SbVec4b &v)
SbVec4s & setValue (const SbVec4i32 &v)
SbVec4s & setValue (const SbVec4f &v)
SbVec4s & setValue (const SbVec4d &v)
const short * getValue (void) const
void getValue (short &x, short &y, short &z, short &w) const
short & operator[] (int i)
const short & operator[] (int i) const
int32_t dot (const SbVec4s &v) const
void negate (void)
SbVec4s & operator*= (int d)
SbVec4s & operator*= (double d)
SbVec4s & operator/= (int d)
SbVec4s & operator/= (double d)
SbVec4s & operator+= (const SbVec4s &v)
SbVec4s & operator-= (const SbVec4s &v)
SbVec4s operator- (void) const
π Protected Attributes
short vec [4]
πΈ DETAILED DESCRIPTION πΈ
ngl there's nothing extra written here in the source, so likeβ¦ that's it, that's the whole vibe. It's a vector, bestie. Four shorts. It does vector things. Iconic behavior, zero drama. π
π¦ Since
Coin 2.5 β so it's been around, it's got seniority, it ate and left no crumbs. π
π AUTHOR π
Not a human author, babe π β it was generated automatically by Doxygen for Coin from the source code. The robots did this one. Fr fr. π€β¨
okay that's the whole page, thanks for coming to my TED talk π«Ά this was Version 4.0.10, dated Thu Jun 25 2026 00:00:00 β no cap, that's the timestamp, take it or leave it, mwah ππΈ
π¦ where this page comes from
- fedora 43: Coin4-devel 4.0.10-1.fc43 Β· BSD-3-Clause AND GPL-3.0-or-later
- fedora 43: Coin4-devel 4.0.10-1.fc43 Β· BSD-3-Clause AND GPL-3.0-or-later
- fedora 44: Coin4-devel 4.0.10-1.fc44 Β· BSD-3-Clause AND GPL-3.0-or-later
- fedora 44: Coin4-devel 4.0.10-1.fc44 Β· BSD-3-Clause AND GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms