dlangui v0.10.7 (2024-03-11T09:32:36Z)
Home
Dub
Repo
vec2.this
dlangui
core
math3d
vec2
create with all components filled with specified value
this
(float v)
struct
vec2
this
(
float
v
)
this
(float[2] v)
this
(float[] v)
this
(float* v)
this
(vec2 v)
this
(float x, float y)
Meta
Source
See Implementation
dlangui
core
math3d
vec2
aliases
length
u
v
constructors
this
functions
add
clear
crossProduct
div
dot
mul
normalize
opAssign
opBinary
opOpAssign
opUnary
rotated90ccw
rotated90cw
sub
properties
magnitude
magnitudeSquared
normalized
unions
__anonymous
create with all components filled with specified value