kool-editor-model
Toggle table of contents
0.18.0
common
Platform filter
common
Switch theme
Search in API
kool-editor-model
kool-editor-model
/
de.fabmax.kool.editor.data
/
Vec3Data
Vec3Data
@
Serializable
data
class
Vec3Data
(
val
x
:
Double
,
val
y
:
Double
,
val
z
:
Double
)
Members
Constructors
Vec3Data
Link copied to clipboard
constructor
(
vec
:
Vec3d
)
constructor
(
vec
:
Vec3f
)
constructor
(
vec
:
Vec3i
)
constructor
(
x
:
Double
,
y
:
Double
,
z
:
Double
)
Properties
x
Link copied to clipboard
val
x
:
Double
y
Link copied to clipboard
val
y
:
Double
z
Link copied to clipboard
val
z
:
Double
Functions
to
Vec3d
Link copied to clipboard
fun
toVec3d
(
result
:
MutableVec3d
=
MutableVec3d()
)
:
MutableVec3d
to
Vec3f
Link copied to clipboard
fun
toVec3f
(
result
:
MutableVec3f
=
MutableVec3f()
)
:
MutableVec3f
to
Vec3i
Link copied to clipboard
fun
toVec3i
(
result
:
MutableVec3i
=
MutableVec3i()
)
:
MutableVec3i