SbVec4s(3)

πŸ“¦
version 4.0.10 Β· 4 versions
, in fedora 43, fedora 44

πŸ’– 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