filament-umbrella
Toggle table of contents
0.1.2-beta06
common
Target filter
common
Switch theme
Search in API
Skip to content
filament-umbrella
filament-utils
/
io.github.erkko68.filament.utils
/
Int2
Int2
data
class
Int2
(
var
x
:
Int
=
0
,
var
y
:
Int
=
0
)
Members
Members & Extensions
Constructors
Int2
Link copied to clipboard
constructor
(
x
:
Int
=
0
,
y
:
Int
=
0
)
constructor
(
v
:
Int
)
constructor
(
v
:
Int2
)
Properties
g
Link copied to clipboard
var
g
:
Int
r
Link copied to clipboard
var
r
:
Int
rg
Link copied to clipboard
var
rg
:
Int2
s
Link copied to clipboard
var
s
:
Int
st
Link copied to clipboard
var
st
:
Int2
t
Link copied to clipboard
var
t
:
Int
x
Link copied to clipboard
var
x
:
Int
xy
Link copied to clipboard
var
xy
:
Int2
y
Link copied to clipboard
var
y
:
Int
Functions
dec
Link copied to clipboard
operator
fun
dec
(
)
:
Int2
div
Link copied to clipboard
inline operator
fun
div
(
v
:
Int2
)
:
Int2
inline operator
fun
div
(
v
:
Int
)
:
Int2
eq
Link copied to clipboard
infix inline
fun
Int2
.
eq
(
b
:
Int2
)
:
Bool2
infix inline
fun
Int2
.
eq
(
b
:
Int
)
:
Bool2
get
Link copied to clipboard
operator
fun
get
(
index
:
VectorComponent
)
:
Int
operator
fun
get
(
index
:
Int
)
:
Int
operator
fun
get
(
index1
:
VectorComponent
,
index2
:
VectorComponent
)
:
Int2
operator
fun
get
(
index1
:
Int
,
index2
:
Int
)
:
Int2
gt
Link copied to clipboard
infix inline
fun
Int2
.
gt
(
b
:
Int2
)
:
Bool2
infix inline
fun
Int2
.
gt
(
b
:
Int
)
:
Bool2
gte
Link copied to clipboard
infix inline
fun
Int2
.
gte
(
b
:
Int2
)
:
Bool2
infix inline
fun
Int2
.
gte
(
b
:
Int
)
:
Bool2
inc
Link copied to clipboard
operator
fun
inc
(
)
:
Int2
invoke
Link copied to clipboard
inline operator
fun
invoke
(
index
:
Int
)
:
Int
lt
Link copied to clipboard
infix inline
fun
Int2
.
lt
(
b
:
Int2
)
:
Bool2
infix inline
fun
Int2
.
lt
(
b
:
Int
)
:
Bool2
lte
Link copied to clipboard
infix inline
fun
Int2
.
lte
(
b
:
Int2
)
:
Bool2
infix inline
fun
Int2
.
lte
(
b
:
Int
)
:
Bool2
minus
Link copied to clipboard
inline operator
fun
minus
(
v
:
Int2
)
:
Int2
inline operator
fun
minus
(
v
:
Int
)
:
Int2
neq
Link copied to clipboard
infix inline
fun
Int2
.
neq
(
b
:
Int2
)
:
Bool2
infix inline
fun
Int2
.
neq
(
b
:
Int
)
:
Bool2
plus
Link copied to clipboard
inline operator
fun
plus
(
v
:
Int2
)
:
Int2
inline operator
fun
plus
(
v
:
Int
)
:
Int2
set
Link copied to clipboard
operator
fun
set
(
index
:
VectorComponent
,
v
:
Int
)
operator
fun
set
(
index
:
Int
,
v
:
Int
)
operator
fun
set
(
index1
:
VectorComponent
,
index2
:
VectorComponent
,
v
:
Int
)
operator
fun
set
(
index1
:
Int
,
index2
:
Int
,
v
:
Int
)
times
Link copied to clipboard
inline operator
fun
times
(
v
:
Int2
)
:
Int2
inline operator
fun
times
(
v
:
Int
)
:
Int2
to
Int
Array
Link copied to clipboard
fun
toIntArray
(
)
:
IntArray
transform
Link copied to clipboard
inline
fun
transform
(
block
:
(
Int
)
->
Int
)
:
Int2
unary
Minus
Link copied to clipboard
operator
fun
unaryMinus
(
)
:
Int2