kotlin-math
1.5.3
kotlin-math
/
dev.romainguy.kotlin.math
/
Half2
Half2
data
class
Half2
(
var
x
:
Half
=
Half.POSITIVE_ZERO
,
var
y
:
Half
=
Half.POSITIVE_ZERO
)
(
source
)
Constructors
Functions
Properties
Extensions
Constructors
Half2
Link copied to clipboard
fun
Half2
(
v
:
Half
)
Half2
Link copied to clipboard
fun
Half2
(
v
:
Half2
)
Half2
Link copied to clipboard
fun
Half2
(
x
:
Half
=
Half.POSITIVE_ZERO
,
y
:
Half
=
Half.POSITIVE_ZERO
)
Functions
dec
Link copied to clipboard
operator
fun
dec
(
)
:
Half2
div
Link copied to clipboard
inline operator
fun
div
(
v
:
Half
)
:
Half2
inline operator
fun
div
(
v
:
Half2
)
:
Half2
get
Link copied to clipboard
operator
fun
get
(
index
:
VectorComponent
)
:
Half
operator
fun
get
(
index
:
Int
)
:
Half
operator
fun
get
(
index1
:
VectorComponent
,
index2
:
VectorComponent
)
:
Half2
operator
fun
get
(
index1
:
Int
,
index2
:
Int
)
:
Half2
inc
Link copied to clipboard
operator
fun
inc
(
)
:
Half2
invoke
Link copied to clipboard
inline operator
fun
invoke
(
index
:
Int
)
:
Half
minus
Link copied to clipboard
inline operator
fun
minus
(
v
:
Half
)
:
Half2
inline operator
fun
minus
(
v
:
Half2
)
:
Half2
plus
Link copied to clipboard
inline operator
fun
plus
(
v
:
Half
)
:
Half2
inline operator
fun
plus
(
v
:
Half2
)
:
Half2
set
Link copied to clipboard
operator
fun
set
(
index
:
VectorComponent
,
v
:
Half
)
operator
fun
set
(
index
:
Int
,
v
:
Half
)
operator
fun
set
(
index1
:
VectorComponent
,
index2
:
VectorComponent
,
v
:
Half
)
operator
fun
set
(
index1
:
Int
,
index2
:
Int
,
v
:
Half
)
times
Link copied to clipboard
inline operator
fun
times
(
v
:
Half
)
:
Half2
inline operator
fun
times
(
v
:
Half2
)
:
Half2
to
Float
Array
Link copied to clipboard
fun
toFloatArray
(
)
:
FloatArray
transform
Link copied to clipboard
inline
fun
transform
(
block
:
(
Half
)
->
Half
)
:
Half2
unary
Minus
Link copied to clipboard
operator
fun
unaryMinus
(
)
:
Half2
Properties
g
Link copied to clipboard
var
g
:
Half
r
Link copied to clipboard
var
r
:
Half
rg
Link copied to clipboard
var
rg
:
Half2
s
Link copied to clipboard
var
s
:
Half
st
Link copied to clipboard
var
st
:
Half2
t
Link copied to clipboard
var
t
:
Half
x
Link copied to clipboard
var
x
:
Half
xy
Link copied to clipboard
var
xy
:
Half2
y
Link copied to clipboard
var
y
:
Half
Extensions
eq
Link copied to clipboard
infix inline
fun
Half2
.
eq
(
b
:
Half
)
:
Bool2
infix inline
fun
Half2
.
eq
(
b
:
Half2
)
:
Bool2
gt
Link copied to clipboard
infix inline
fun
Half2
.
gt
(
b
:
Half
)
:
Bool2
infix inline
fun
Half2
.
gt
(
b
:
Half2
)
:
Bool2
gte
Link copied to clipboard
infix inline
fun
Half2
.
gte
(
b
:
Half
)
:
Bool2
infix inline
fun
Half2
.
gte
(
b
:
Half2
)
:
Bool2
lt
Link copied to clipboard
infix inline
fun
Half2
.
lt
(
b
:
Half
)
:
Bool2
infix inline
fun
Half2
.
lt
(
b
:
Half2
)
:
Bool2
lte
Link copied to clipboard
infix inline
fun
Half2
.
lte
(
b
:
Half
)
:
Bool2
infix inline
fun
Half2
.
lte
(
b
:
Half2
)
:
Bool2
neq
Link copied to clipboard
infix inline
fun
Half2
.
neq
(
b
:
Half
)
:
Bool2
infix inline
fun
Half2
.
neq
(
b
:
Half2
)
:
Bool2