toggle menu
silk
1.10.4
jvm
switch theme
search in API
silk-core
/
net.silkmc.silk.core.math.vector
Package-level
declarations
Operator functions and extensions for working with vectors
Functions
Functions
compare
To
Link copied to clipboard
operator
fun
Vec3i
.
compareTo
(
n
:
Number
)
:
Int
operator
fun
Vec3
.
compareTo
(
n
:
Number
)
:
Int
operator
fun
Vec3
.
compareTo
(
vec
:
Vec3
)
:
Int
component1
Link copied to clipboard
operator
fun
Vec3i
.
component1
(
)
:
Int
operator
fun
Vec3
.
component1
(
)
:
Double
component2
Link copied to clipboard
operator
fun
Vec3i
.
component2
(
)
:
Int
operator
fun
Vec3
.
component2
(
)
:
Double
component3
Link copied to clipboard
operator
fun
Vec3i
.
component3
(
)
:
Int
operator
fun
Vec3
.
component3
(
)
:
Double
div
Link copied to clipboard
operator
fun
Vec3i
.
div
(
n
:
Number
)
:
Vec3i
operator
fun
Vec3i
.
div
(
vec
:
Vec3i
)
:
Vec3i
operator
fun
Vec3
.
div
(
n
:
Number
)
:
Vec3
operator
fun
Vec3
.
div
(
vec
:
Vec3
)
:
Vec3
minus
Link copied to clipboard
inline operator
fun
<
T
:
Vec3i
>
T
.
minus
(
n
:
Number
)
:
T
inline operator
fun
<
T
:
Vec3i
>
T
.
minus
(
vec
:
Vec3i
)
:
T
operator
fun
Vec3
.
minus
(
n
:
Number
)
:
Vec3
operator
fun
Vec3
.
minus
(
vec
:
Vec3
)
:
Vec3
not
Link copied to clipboard
operator
fun
Vec3i
.
not
(
)
:
Vec3i
operator
fun
Vec3
.
not
(
)
:
Vec3
plus
Link copied to clipboard
inline operator
fun
<
T
:
Vec3i
>
T
.
plus
(
n
:
Number
)
:
T
inline operator
fun
<
T
:
Vec3i
>
T
.
plus
(
vec
:
Vec3i
)
:
T
operator
fun
Vec3
.
plus
(
n
:
Number
)
:
Vec3
operator
fun
Vec3
.
plus
(
vec
:
Vec3
)
:
Vec3
times
Link copied to clipboard
operator
fun
Vec3i
.
times
(
n
:
Number
)
:
Vec3i
operator
fun
Vec3i
.
times
(
vec
:
Vec3i
)
:
Vec3i
operator
fun
Vec3
.
times
(
n
:
Number
)
:
Vec3
operator
fun
Vec3
.
times
(
vec
:
Vec3
)
:
Vec3