Vec4

Undocumented in source.

Constructors

this
this(T nx, T ny, T nz, T nw)
Undocumented in source.
this
this(Vec2!T nxy, Vec2!T nzw)
Undocumented in source.

Members

Functions

opBinary
Vec4!T opBinary(Vec4!T v)
Undocumented in source. Be warned that the author may not have intended to support it.
opBinary
Vec4!T opBinary(T s)
Undocumented in source. Be warned that the author may not have intended to support it.
opBinaryRight
Vec4!T opBinaryRight(T s)
Undocumented in source. Be warned that the author may not have intended to support it.
opCast
Vec4!U opCast()
Undocumented in source. Be warned that the author may not have intended to support it.
opEquals
bool opEquals(Vec4!T v)
Undocumented in source. Be warned that the author may not have intended to support it.
opOpAssign
Vec4!T opOpAssign(Vec4!T v)
Undocumented in source. Be warned that the author may not have intended to support it.
opOpAssign
Vec4!T opOpAssign(T s)
Undocumented in source. Be warned that the author may not have intended to support it.
opUnary
Vec4!T opUnary()
Undocumented in source. Be warned that the author may not have intended to support it.
set
void set(T nx, T ny, T nz, T nw)
Undocumented in source. Be warned that the author may not have intended to support it.
set
void set(Vec2!T nxy, Vec2!T nzw)
Undocumented in source. Be warned that the author may not have intended to support it.
toSdlRect
SDL_Rect toSdlRect()
Undocumented in source. Be warned that the author may not have intended to support it.

Manifest constants

half
enum half;

{0.5, 0.5, 0.5, 0.5} vector. Its length is not 0.5 !

one
enum one;

{1, 1, 1, 1} vector. Its length is not one !

one
enum one;

{1, 1, 1, 1} vector. Its length is not one !

one
enum one;

{1, 1, 1, 1} vector. Its length is not one !

zero
enum zero;

Null vector.

zero
enum zero;

Null vector.

zero
enum zero;

Null vector.

Properties

xy
Vec2!T xy [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
xy
Vec2!T xy [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
zw
Vec2!T zw [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
zw
Vec2!T zw [@property setter]
w
T w;
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

x
T x;
y
T y;
z
T z;
Undocumented in source.

Meta