Kale
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Public Attributes | Friends | List of all members
Kale::Vector4< T > Class Template Reference

#include <Vector.hpp>

Public Member Functions

template<typename U = T, typename = typename std::enable_if<std::is_same<U, float>::value>::type>
 Vector4 (float r, float g, float b)
 
template<typename U = T, typename = typename std::enable_if<std::is_same<U, float>::value>::type>
 Vector4 (int hex)
 
template<typename U = T, typename = typename std::enable_if<std::is_same<U, float>::value>::type>
 Vector4 (int hex, float alpha)
 
 Vector4 ()
 
 Vector4 (T x, T y, T z, T w)
 
 Vector4 (T v[4])
 
 Vector4 (Vector2< T > v, T z, T w)
 
 Vector4 (T x, Vector2< T > v, T w)
 
 Vector4 (T x, T y, Vector2< T > v)
 
 Vector4 (Vector3< T > v, T w)
 
 Vector4 (T x, Vector3< T > v)
 
void operator= (T n)
 
void operator= (T v[4])
 
void operator+= (Vector4< T > o)
 
void operator-= (Vector4< T > o)
 
void operator*= (Vector4< T > o)
 
void operator/= (Vector4< T > o)
 
void operator+= (T v)
 
void operator-= (T v)
 
void operator*= (T v)
 
void operator/= (T v)
 
Vector4< Toperator- () const
 
Vector4< Toperator+ (Vector4< T > o) const
 
Vector4< Toperator- (Vector4< T > o) const
 
Vector4< Toperator* (Vector4< T > o) const
 
Vector4< Toperator/ (Vector4< T > o) const
 
Vector4< Toperator+ (T v) const
 
Vector4< Toperator- (T v) const
 
Vector4< Toperator* (T v) const
 
Vector4< Toperator/ (T v) const
 
bool operator> (Vector4< T > o) const
 
bool operator< (Vector4< T > o) const
 
bool operator>= (Vector4< T > o) const
 
bool operator<= (Vector4< T > o) const
 
template<typename A = T>
std::enable_if< std::is_integral< A >::value, bool >::type operator== (Vector4< T > o) const
 
template<typename A = T>
std::enable_if< std::is_floating_point< A >::value, bool >::type operator== (Vector4< T > o) const
 
bool operator!= (Vector4< T > o) const
 
T dot (Vector4< T > o) const
 
template<typename A = T>
std::enable_if< std::is_floating_point< A >::value, T >::type magnitude () const
 
Vector4< Tclamp (T minX, T maxX, T minY, T maxY, T minZ, T maxZ, T minW, T maxW) const
 
Vector4< Tclamp (Vector4< T > min, Vector4< T > max) const
 
void clampTo (T minX, T maxX, T minY, T maxY, T minZ, T maxZ, T minW, T maxW)
 
void clampTo (Vector4< T > min, Vector4< T > max)
 
template<typename A >
Vector4< Acast () const
 
template<typename A = T>
std::enable_if< std::is_floating_point< A >::value, Vector4< T > >::type unit () const
 
template<typename A = T>
std::enable_if< std::is_floating_point< A >::value, float >::type dist (Vector4< T > o) const
 
Vector2< Txy () const
 
Vector2< Txz () const
 
Vector2< Txw () const
 
Vector2< Tyx () const
 
Vector2< Tyz () const
 
Vector2< Tyw () const
 
Vector2< Tzx () const
 
Vector2< Tzy () const
 
Vector2< Tzw () const
 
Vector2< Twx () const
 
Vector2< Twy () const
 
Vector2< Twz () const
 
Vector3< Txyz () const
 
Vector3< Txyw () const
 
Vector3< Txzy () const
 
Vector3< Txzw () const
 
Vector3< Txwy () const
 
Vector3< Txwz () const
 
Vector3< Tyxz () const
 
Vector3< Tyxw () const
 
Vector3< Tyzx () const
 
Vector3< Tyzw () const
 
Vector3< Tywx () const
 
Vector3< Tywz () const
 
Vector3< Tzxy () const
 
Vector3< Tzxw () const
 
Vector3< Tzyx () const
 
Vector3< Tzyw () const
 
Vector3< Tzwx () const
 
Vector3< Tzwy () const
 
Vector3< Twxy () const
 
Vector3< Twxz () const
 
Vector3< Twyx () const
 
Vector3< Twyz () const
 
Vector3< Twzx () const
 
Vector3< Twzy () const
 
Vector4< Twzyx () const
 
Vector4< Tzwyx () const
 
Vector4< Twyzx () const
 
Vector4< Tywzx () const
 
Vector4< Tzywx () const
 
Vector4< Tyzwx () const
 
Vector4< Twzxy () const
 
Vector4< Tzwxy () const
 
Vector4< Twxzy () const
 
Vector4< Txwzy () const
 
Vector4< Tzxwy () const
 
Vector4< Txzwy () const
 
Vector4< Twyxz () const
 
Vector4< Tywxz () const
 
Vector4< Twxyz () const
 
Vector4< Txwyz () const
 
Vector4< Tyxwz () const
 
Vector4< Txywz () const
 
Vector4< Tzyxw () const
 
Vector4< Tyzxw () const
 
Vector4< Tzxyw () const
 
Vector4< Txzyw () const
 
Vector4< Tyxzw () const
 
Vector4< Txyzw () const
 

Static Public Member Functions

static Vector4< Tzero ()
 
static Vector4< Tone ()
 
static Vector4< Tmax ()
 
static Vector4< Tmin ()
 
static Vector4< Trandom (T min, T max)
 
static Vector4< Trandom (T minX, T maxX, T minY, T maxY, T minZ, T maxZ, T minW, T maxW)
 

Public Attributes

T x
 
T y
 
T z
 
T w
 

Friends

Vector4< Toperator+ (float n, Vector4< T > v)
 
Vector4< Toperator- (float n, Vector4< T > v)
 
Vector4< Toperator* (float n, Vector4< T > v)
 
Vector4< Toperator/ (float n, Vector4< T > v)
 

Detailed Description

template<typename T>
class Kale::Vector4< T >

Represents a vector in a 3 dimensional space

Definition at line 345 of file Vector.hpp.

Constructor & Destructor Documentation

◆ Vector4() [1/11]

template<typename T >
template<typename U = T, typename = typename std::enable_if<std::is_same<U, float>::value>::type>
Kale::Vector4< T >::Vector4 ( float r,
float g,
float b )
inline

Definition at line 350 of file Vector.hpp.

◆ Vector4() [2/11]

template<typename T >
template<typename U = T, typename = typename std::enable_if<std::is_same<U, float>::value>::type>
Kale::Vector4< T >::Vector4 ( int hex)
inline

Definition at line 353 of file Vector.hpp.

◆ Vector4() [3/11]

template<typename T >
template<typename U = T, typename = typename std::enable_if<std::is_same<U, float>::value>::type>
Kale::Vector4< T >::Vector4 ( int hex,
float alpha )
inline

Definition at line 360 of file Vector.hpp.

◆ Vector4() [4/11]

template<typename T >
Kale::Vector4< T >::Vector4 ( )
inline

Definition at line 366 of file Vector.hpp.

◆ Vector4() [5/11]

template<typename T >
Kale::Vector4< T >::Vector4 ( T x,
T y,
T z,
T w )
inline

Definition at line 367 of file Vector.hpp.

◆ Vector4() [6/11]

template<typename T >
Kale::Vector4< T >::Vector4 ( T v[4])
inline

Definition at line 368 of file Vector.hpp.

◆ Vector4() [7/11]

template<typename T >
Kale::Vector4< T >::Vector4 ( Vector2< T > v,
T z,
T w )
inline

Definition at line 370 of file Vector.hpp.

◆ Vector4() [8/11]

template<typename T >
Kale::Vector4< T >::Vector4 ( T x,
Vector2< T > v,
T w )
inline

Definition at line 371 of file Vector.hpp.

◆ Vector4() [9/11]

template<typename T >
Kale::Vector4< T >::Vector4 ( T x,
T y,
Vector2< T > v )
inline

Definition at line 372 of file Vector.hpp.

◆ Vector4() [10/11]

template<typename T >
Kale::Vector4< T >::Vector4 ( Vector3< T > v,
T w )
inline

Definition at line 374 of file Vector.hpp.

◆ Vector4() [11/11]

template<typename T >
Kale::Vector4< T >::Vector4 ( T x,
Vector3< T > v )
inline

Definition at line 375 of file Vector.hpp.

Member Function Documentation

◆ cast()

template<typename T >
template<typename A >
Vector4< A > Kale::Vector4< T >::cast ( ) const
inline

Definition at line 496 of file Vector.hpp.

◆ clamp() [1/2]

template<typename T >
Vector4< T > Kale::Vector4< T >::clamp ( T minX,
T maxX,
T minY,
T maxY,
T minZ,
T maxZ,
T minW,
T maxW ) const
inline

Definition at line 474 of file Vector.hpp.

◆ clamp() [2/2]

template<typename T >
Vector4< T > Kale::Vector4< T >::clamp ( Vector4< T > min,
Vector4< T > max ) const
inline

Definition at line 478 of file Vector.hpp.

◆ clampTo() [1/2]

template<typename T >
void Kale::Vector4< T >::clampTo ( T minX,
T maxX,
T minY,
T maxY,
T minZ,
T maxZ,
T minW,
T maxW )
inline

Definition at line 483 of file Vector.hpp.

◆ clampTo() [2/2]

template<typename T >
void Kale::Vector4< T >::clampTo ( Vector4< T > min,
Vector4< T > max )
inline

Definition at line 489 of file Vector.hpp.

◆ dist()

template<typename T >
template<typename A = T>
std::enable_if< std::is_floating_point< A >::value, float >::type Kale::Vector4< T >::dist ( Vector4< T > o) const
inline

Definition at line 503 of file Vector.hpp.

◆ dot()

template<typename T >
T Kale::Vector4< T >::dot ( Vector4< T > o) const
inline

Definition at line 469 of file Vector.hpp.

◆ magnitude()

template<typename T >
template<typename A = T>
std::enable_if< std::is_floating_point< A >::value, T >::type Kale::Vector4< T >::magnitude ( ) const
inline

Definition at line 470 of file Vector.hpp.

◆ max()

template<typename T >
static Vector4< T > Kale::Vector4< T >::max ( )
inlinestatic

Definition at line 572 of file Vector.hpp.

◆ min()

template<typename T >
static Vector4< T > Kale::Vector4< T >::min ( )
inlinestatic

Definition at line 575 of file Vector.hpp.

◆ one()

template<typename T >
static Vector4< T > Kale::Vector4< T >::one ( )
inlinestatic

Definition at line 571 of file Vector.hpp.

◆ operator!=()

template<typename T >
bool Kale::Vector4< T >::operator!= ( Vector4< T > o) const
inline

Definition at line 467 of file Vector.hpp.

◆ operator*() [1/2]

template<typename T >
Vector4< T > Kale::Vector4< T >::operator* ( T v) const
inline

Definition at line 449 of file Vector.hpp.

◆ operator*() [2/2]

template<typename T >
Vector4< T > Kale::Vector4< T >::operator* ( Vector4< T > o) const
inline

Definition at line 444 of file Vector.hpp.

◆ operator*=() [1/2]

template<typename T >
void Kale::Vector4< T >::operator*= ( T v)
inline

Definition at line 427 of file Vector.hpp.

◆ operator*=() [2/2]

template<typename T >
void Kale::Vector4< T >::operator*= ( Vector4< T > o)
inline

Definition at line 402 of file Vector.hpp.

◆ operator+() [1/2]

template<typename T >
Vector4< T > Kale::Vector4< T >::operator+ ( T v) const
inline

Definition at line 447 of file Vector.hpp.

◆ operator+() [2/2]

template<typename T >
Vector4< T > Kale::Vector4< T >::operator+ ( Vector4< T > o) const
inline

Definition at line 442 of file Vector.hpp.

◆ operator+=() [1/2]

template<typename T >
void Kale::Vector4< T >::operator+= ( T v)
inline

Definition at line 415 of file Vector.hpp.

◆ operator+=() [2/2]

template<typename T >
void Kale::Vector4< T >::operator+= ( Vector4< T > o)
inline

Definition at line 390 of file Vector.hpp.

◆ operator-() [1/3]

template<typename T >
Vector4< T > Kale::Vector4< T >::operator- ( ) const
inline

Definition at line 440 of file Vector.hpp.

◆ operator-() [2/3]

template<typename T >
Vector4< T > Kale::Vector4< T >::operator- ( T v) const
inline

Definition at line 448 of file Vector.hpp.

◆ operator-() [3/3]

template<typename T >
Vector4< T > Kale::Vector4< T >::operator- ( Vector4< T > o) const
inline

Definition at line 443 of file Vector.hpp.

◆ operator-=() [1/2]

template<typename T >
void Kale::Vector4< T >::operator-= ( T v)
inline

Definition at line 421 of file Vector.hpp.

◆ operator-=() [2/2]

template<typename T >
void Kale::Vector4< T >::operator-= ( Vector4< T > o)
inline

Definition at line 396 of file Vector.hpp.

◆ operator/() [1/2]

template<typename T >
Vector4< T > Kale::Vector4< T >::operator/ ( T v) const
inline

Definition at line 450 of file Vector.hpp.

◆ operator/() [2/2]

template<typename T >
Vector4< T > Kale::Vector4< T >::operator/ ( Vector4< T > o) const
inline

Definition at line 445 of file Vector.hpp.

◆ operator/=() [1/2]

template<typename T >
void Kale::Vector4< T >::operator/= ( T v)
inline

Definition at line 433 of file Vector.hpp.

◆ operator/=() [2/2]

template<typename T >
void Kale::Vector4< T >::operator/= ( Vector4< T > o)
inline

Definition at line 408 of file Vector.hpp.

◆ operator<()

template<typename T >
bool Kale::Vector4< T >::operator< ( Vector4< T > o) const
inline

Definition at line 458 of file Vector.hpp.

◆ operator<=()

template<typename T >
bool Kale::Vector4< T >::operator<= ( Vector4< T > o) const
inline

Definition at line 460 of file Vector.hpp.

◆ operator=() [1/2]

template<typename T >
void Kale::Vector4< T >::operator= ( T n)
inline

Definition at line 377 of file Vector.hpp.

◆ operator=() [2/2]

template<typename T >
void Kale::Vector4< T >::operator= ( T v[4])
inline

Definition at line 383 of file Vector.hpp.

◆ operator==() [1/2]

template<typename T >
template<typename A = T>
std::enable_if< std::is_integral< A >::value, bool >::type Kale::Vector4< T >::operator== ( Vector4< T > o) const
inline

Definition at line 461 of file Vector.hpp.

◆ operator==() [2/2]

template<typename T >
template<typename A = T>
std::enable_if< std::is_floating_point< A >::value, bool >::type Kale::Vector4< T >::operator== ( Vector4< T > o) const
inline

Definition at line 464 of file Vector.hpp.

◆ operator>()

template<typename T >
bool Kale::Vector4< T >::operator> ( Vector4< T > o) const
inline

Definition at line 457 of file Vector.hpp.

◆ operator>=()

template<typename T >
bool Kale::Vector4< T >::operator>= ( Vector4< T > o) const
inline

Definition at line 459 of file Vector.hpp.

◆ random() [1/2]

template<typename T >
static Vector4< T > Kale::Vector4< T >::random ( T min,
T max )
inlinestatic

Definition at line 578 of file Vector.hpp.

◆ random() [2/2]

template<typename T >
static Vector4< T > Kale::Vector4< T >::random ( T minX,
T maxX,
T minY,
T maxY,
T minZ,
T maxZ,
T minW,
T maxW )
inlinestatic

Definition at line 581 of file Vector.hpp.

◆ unit()

template<typename T >
template<typename A = T>
std::enable_if< std::is_floating_point< A >::value, Vector4< T > >::type Kale::Vector4< T >::unit ( ) const
inline

Definition at line 500 of file Vector.hpp.

◆ wx()

template<typename T >
Vector2< T > Kale::Vector4< T >::wx ( ) const
inline

Definition at line 516 of file Vector.hpp.

◆ wxy()

template<typename T >
Vector3< T > Kale::Vector4< T >::wxy ( ) const
inline

Definition at line 538 of file Vector.hpp.

◆ wxyz()

template<typename T >
Vector4< T > Kale::Vector4< T >::wxyz ( ) const
inline

Definition at line 559 of file Vector.hpp.

◆ wxz()

template<typename T >
Vector3< T > Kale::Vector4< T >::wxz ( ) const
inline

Definition at line 539 of file Vector.hpp.

◆ wxzy()

template<typename T >
Vector4< T > Kale::Vector4< T >::wxzy ( ) const
inline

Definition at line 553 of file Vector.hpp.

◆ wy()

template<typename T >
Vector2< T > Kale::Vector4< T >::wy ( ) const
inline

Definition at line 517 of file Vector.hpp.

◆ wyx()

template<typename T >
Vector3< T > Kale::Vector4< T >::wyx ( ) const
inline

Definition at line 540 of file Vector.hpp.

◆ wyxz()

template<typename T >
Vector4< T > Kale::Vector4< T >::wyxz ( ) const
inline

Definition at line 557 of file Vector.hpp.

◆ wyz()

template<typename T >
Vector3< T > Kale::Vector4< T >::wyz ( ) const
inline

Definition at line 541 of file Vector.hpp.

◆ wyzx()

template<typename T >
Vector4< T > Kale::Vector4< T >::wyzx ( ) const
inline

Definition at line 547 of file Vector.hpp.

◆ wz()

template<typename T >
Vector2< T > Kale::Vector4< T >::wz ( ) const
inline

Definition at line 518 of file Vector.hpp.

◆ wzx()

template<typename T >
Vector3< T > Kale::Vector4< T >::wzx ( ) const
inline

Definition at line 542 of file Vector.hpp.

◆ wzxy()

template<typename T >
Vector4< T > Kale::Vector4< T >::wzxy ( ) const
inline

Definition at line 551 of file Vector.hpp.

◆ wzy()

template<typename T >
Vector3< T > Kale::Vector4< T >::wzy ( ) const
inline

Definition at line 543 of file Vector.hpp.

◆ wzyx()

template<typename T >
Vector4< T > Kale::Vector4< T >::wzyx ( ) const
inline

Definition at line 545 of file Vector.hpp.

◆ xw()

template<typename T >
Vector2< T > Kale::Vector4< T >::xw ( ) const
inline

Definition at line 509 of file Vector.hpp.

◆ xwy()

template<typename T >
Vector3< T > Kale::Vector4< T >::xwy ( ) const
inline

Definition at line 524 of file Vector.hpp.

◆ xwyz()

template<typename T >
Vector4< T > Kale::Vector4< T >::xwyz ( ) const
inline

Definition at line 560 of file Vector.hpp.

◆ xwz()

template<typename T >
Vector3< T > Kale::Vector4< T >::xwz ( ) const
inline

Definition at line 525 of file Vector.hpp.

◆ xwzy()

template<typename T >
Vector4< T > Kale::Vector4< T >::xwzy ( ) const
inline

Definition at line 554 of file Vector.hpp.

◆ xy()

template<typename T >
Vector2< T > Kale::Vector4< T >::xy ( ) const
inline

Definition at line 507 of file Vector.hpp.

◆ xyw()

template<typename T >
Vector3< T > Kale::Vector4< T >::xyw ( ) const
inline

Definition at line 521 of file Vector.hpp.

◆ xywz()

template<typename T >
Vector4< T > Kale::Vector4< T >::xywz ( ) const
inline

Definition at line 562 of file Vector.hpp.

◆ xyz()

template<typename T >
Vector3< T > Kale::Vector4< T >::xyz ( ) const
inline

Definition at line 520 of file Vector.hpp.

◆ xyzw()

template<typename T >
Vector4< T > Kale::Vector4< T >::xyzw ( ) const
inline

Definition at line 568 of file Vector.hpp.

◆ xz()

template<typename T >
Vector2< T > Kale::Vector4< T >::xz ( ) const
inline

Definition at line 508 of file Vector.hpp.

◆ xzw()

template<typename T >
Vector3< T > Kale::Vector4< T >::xzw ( ) const
inline

Definition at line 523 of file Vector.hpp.

◆ xzwy()

template<typename T >
Vector4< T > Kale::Vector4< T >::xzwy ( ) const
inline

Definition at line 556 of file Vector.hpp.

◆ xzy()

template<typename T >
Vector3< T > Kale::Vector4< T >::xzy ( ) const
inline

Definition at line 522 of file Vector.hpp.

◆ xzyw()

template<typename T >
Vector4< T > Kale::Vector4< T >::xzyw ( ) const
inline

Definition at line 566 of file Vector.hpp.

◆ yw()

template<typename T >
Vector2< T > Kale::Vector4< T >::yw ( ) const
inline

Definition at line 512 of file Vector.hpp.

◆ ywx()

template<typename T >
Vector3< T > Kale::Vector4< T >::ywx ( ) const
inline

Definition at line 530 of file Vector.hpp.

◆ ywxz()

template<typename T >
Vector4< T > Kale::Vector4< T >::ywxz ( ) const
inline

Definition at line 558 of file Vector.hpp.

◆ ywz()

template<typename T >
Vector3< T > Kale::Vector4< T >::ywz ( ) const
inline

Definition at line 531 of file Vector.hpp.

◆ ywzx()

template<typename T >
Vector4< T > Kale::Vector4< T >::ywzx ( ) const
inline

Definition at line 548 of file Vector.hpp.

◆ yx()

template<typename T >
Vector2< T > Kale::Vector4< T >::yx ( ) const
inline

Definition at line 510 of file Vector.hpp.

◆ yxw()

template<typename T >
Vector3< T > Kale::Vector4< T >::yxw ( ) const
inline

Definition at line 527 of file Vector.hpp.

◆ yxwz()

template<typename T >
Vector4< T > Kale::Vector4< T >::yxwz ( ) const
inline

Definition at line 561 of file Vector.hpp.

◆ yxz()

template<typename T >
Vector3< T > Kale::Vector4< T >::yxz ( ) const
inline

Definition at line 526 of file Vector.hpp.

◆ yxzw()

template<typename T >
Vector4< T > Kale::Vector4< T >::yxzw ( ) const
inline

Definition at line 567 of file Vector.hpp.

◆ yz()

template<typename T >
Vector2< T > Kale::Vector4< T >::yz ( ) const
inline

Definition at line 511 of file Vector.hpp.

◆ yzw()

template<typename T >
Vector3< T > Kale::Vector4< T >::yzw ( ) const
inline

Definition at line 529 of file Vector.hpp.

◆ yzwx()

template<typename T >
Vector4< T > Kale::Vector4< T >::yzwx ( ) const
inline

Definition at line 550 of file Vector.hpp.

◆ yzx()

template<typename T >
Vector3< T > Kale::Vector4< T >::yzx ( ) const
inline

Definition at line 528 of file Vector.hpp.

◆ yzxw()

template<typename T >
Vector4< T > Kale::Vector4< T >::yzxw ( ) const
inline

Definition at line 564 of file Vector.hpp.

◆ zero()

template<typename T >
static Vector4< T > Kale::Vector4< T >::zero ( )
inlinestatic

Definition at line 570 of file Vector.hpp.

◆ zw()

template<typename T >
Vector2< T > Kale::Vector4< T >::zw ( ) const
inline

Definition at line 515 of file Vector.hpp.

◆ zwx()

template<typename T >
Vector3< T > Kale::Vector4< T >::zwx ( ) const
inline

Definition at line 536 of file Vector.hpp.

◆ zwxy()

template<typename T >
Vector4< T > Kale::Vector4< T >::zwxy ( ) const
inline

Definition at line 552 of file Vector.hpp.

◆ zwy()

template<typename T >
Vector3< T > Kale::Vector4< T >::zwy ( ) const
inline

Definition at line 537 of file Vector.hpp.

◆ zwyx()

template<typename T >
Vector4< T > Kale::Vector4< T >::zwyx ( ) const
inline

Definition at line 546 of file Vector.hpp.

◆ zx()

template<typename T >
Vector2< T > Kale::Vector4< T >::zx ( ) const
inline

Definition at line 513 of file Vector.hpp.

◆ zxw()

template<typename T >
Vector3< T > Kale::Vector4< T >::zxw ( ) const
inline

Definition at line 533 of file Vector.hpp.

◆ zxwy()

template<typename T >
Vector4< T > Kale::Vector4< T >::zxwy ( ) const
inline

Definition at line 555 of file Vector.hpp.

◆ zxy()

template<typename T >
Vector3< T > Kale::Vector4< T >::zxy ( ) const
inline

Definition at line 532 of file Vector.hpp.

◆ zxyw()

template<typename T >
Vector4< T > Kale::Vector4< T >::zxyw ( ) const
inline

Definition at line 565 of file Vector.hpp.

◆ zy()

template<typename T >
Vector2< T > Kale::Vector4< T >::zy ( ) const
inline

Definition at line 514 of file Vector.hpp.

◆ zyw()

template<typename T >
Vector3< T > Kale::Vector4< T >::zyw ( ) const
inline

Definition at line 535 of file Vector.hpp.

◆ zywx()

template<typename T >
Vector4< T > Kale::Vector4< T >::zywx ( ) const
inline

Definition at line 549 of file Vector.hpp.

◆ zyx()

template<typename T >
Vector3< T > Kale::Vector4< T >::zyx ( ) const
inline

Definition at line 534 of file Vector.hpp.

◆ zyxw()

template<typename T >
Vector4< T > Kale::Vector4< T >::zyxw ( ) const
inline

Definition at line 563 of file Vector.hpp.

Friends And Related Symbol Documentation

◆ operator*

template<typename T >
Vector4< T > operator* ( float n,
Vector4< T > v )
friend

Definition at line 454 of file Vector.hpp.

◆ operator+

template<typename T >
Vector4< T > operator+ ( float n,
Vector4< T > v )
friend

Definition at line 452 of file Vector.hpp.

◆ operator-

template<typename T >
Vector4< T > operator- ( float n,
Vector4< T > v )
friend

Definition at line 453 of file Vector.hpp.

◆ operator/

template<typename T >
Vector4< T > operator/ ( float n,
Vector4< T > v )
friend

Definition at line 455 of file Vector.hpp.

Member Data Documentation

◆ w

template<typename T >
T Kale::Vector4< T >::w

Definition at line 347 of file Vector.hpp.

◆ x

template<typename T >
T Kale::Vector4< T >::x

Definition at line 347 of file Vector.hpp.

◆ y

template<typename T >
T Kale::Vector4< T >::y

Definition at line 347 of file Vector.hpp.

◆ z

template<typename T >
T Kale::Vector4< T >::z

Definition at line 347 of file Vector.hpp.


The documentation for this class was generated from the following file: