|
ゲームグラフィックス特論
|
#include <gg.h>


公開メンバ関数 | |
| GgVector ()=default | |
| constexpr | GgVector (GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3) |
| constexpr | GgVector (const GLfloat *a) |
| constexpr | GgVector (GLfloat c) |
| GgVector (const GgVector &v)=default | |
| GgVector (GgVector &&v)=default | |
| ~GgVector ()=default | |
| GgVector & | operator= (const GgVector &v)=default |
| GgVector & | operator= (GgVector &&v)=default |
| constexpr GgVector | operator+ (const GgVector &v) const noexcept |
| constexpr GgVector | operator+ (GLfloat c) const noexcept |
| constexpr GgVector & | operator+= (const GgVector &v) noexcept |
| constexpr GgVector & | operator+= (GLfloat c) noexcept |
| constexpr GgVector | operator- (const GgVector &v) const noexcept |
| constexpr GgVector | operator- (GLfloat c) const noexcept |
| constexpr GgVector & | operator-= (const GgVector &v) noexcept |
| constexpr GgVector & | operator-= (GLfloat c) noexcept |
| constexpr GgVector | operator* (const GgVector &v) const noexcept |
| constexpr GgVector | operator* (GLfloat c) const noexcept |
| constexpr GgVector & | operator*= (const GgVector &v) noexcept |
| constexpr GgVector & | operator*= (GLfloat c) noexcept |
| constexpr GgVector | operator/ (const GgVector &v) const noexcept |
| constexpr GgVector | operator/ (GLfloat c) const noexcept |
| constexpr GgVector & | operator/= (const GgVector &v) noexcept |
| constexpr GgVector & | operator/= (GLfloat c) noexcept |
| GLfloat | dot3 (const GgVector &v) const |
| GLfloat | length3 () const |
| GLfloat | distance3 (const GgVector &v) const |
| GgVector | normalize3 () const |
| GLfloat | dot4 (const GgVector &v) const |
| GLfloat | length4 () const |
| GLfloat | distance4 (const GgVector &v) const |
| GgVector | normalize4 () const |
|
default |
コンストラクタ.

|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
default |
コピーコンストラクタ.
| v | コピー元のベクトル. |

|
default |
ムーブコンストラクタ.
| v | ムーブ元のベクトル. |

|
default |
デストラクタ.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |