atelier ~master (2021-08-24T13:35:22Z)
Dub
Repo
Vec3.one
atelier
core
vec3
Vec3
{1, 1, 1} vector. Its length is not one !
enum
one
;
enum
one
;
struct
Vec3
(T)
static if
(!(
__traits(isUnsigned, T)
))
static if
(
__traits(isFloating, T)
)
enum
one
=
Vec3
!
T
(
1f
,
1f
,
1f
)
;
enum
one
;
Meta
Source
See Source File
atelier
core
vec3
Vec3
constructors
this
functions
abs
ceil
clamp
distance
distanceSquared
floor
isBetween
length
lengthSquared
lerp
max
min
normalize
normalized
opBinary
opBinaryRight
opCast
opEquals
opOpAssign
opUnary
round
set
sum
manifest constants
bottom
down
half
left
one
right
top
up
zero
properties
xy
xz
yz
variables
x
y
z
{1, 1, 1} vector. Its length is not one !