Panda3D
|
This is a four-component vector distance. More...
#include "lvector4.h"
Public Member Functions | |
LVector4d (const LVecBase4d ©) | |
LVector4d (double fill_value) | |
LVector4d (double x, double y, double z, double w) | |
LVector4d | operator* (double scalar) const |
LVecBase4d | operator+ (const LVecBase4d &other) const |
LVector4d | operator+ (const LVector4d &other) const |
LVecBase4d | operator- (const LVecBase4d &other) const |
LVector4d | operator- () const |
LVector4d | operator- (const LVector4d &other) const |
LVector4d | operator/ (double scalar) const |
LVector4d & | operator= (double fill_value) |
LVector4d & | operator= (const LVecBase4d ©) |
LVector4d | project (const LVecBase4d &onto) const |
Returns a new vector representing the projection of this vector onto another one. | |
Static Public Member Functions | |
static TypeHandle | get_class_type () |
static void | init_type () |
static const LVector4d & | unit_w () |
Returns a unit W vector. | |
static const LVector4d & | unit_x () |
Returns a unit X vector. | |
static const LVector4d & | unit_y () |
Returns a unit Y vector. | |
static const LVector4d & | unit_z () |
Returns a unit Z vector. | |
static const LVector4d & | zero () |
Returns a zero-length vector. |
This is a four-component vector distance.
Definition at line 402 of file lvector4.h.
LVector4d LVector4d::project | ( | const LVecBase4d & | onto | ) | const [inline] |
Returns a new vector representing the projection of this vector onto another one.
The resulting vector will be a scalar multiple of onto.
Reimplemented from LVecBase4d.
Definition at line 651 of file lvector4.h.
const LVector4d & LVector4d::unit_w | ( | ) | [inline, static] |
const LVector4d & LVector4d::unit_x | ( | ) | [inline, static] |
const LVector4d & LVector4d::unit_y | ( | ) | [inline, static] |
const LVector4d & LVector4d::unit_z | ( | ) | [inline, static] |
const LVector4d & LVector4d::zero | ( | ) | [inline, static] |
Returns a zero-length vector.
Reimplemented from LVecBase4d.
Definition at line 528 of file lvector4.h.