LiquidBounce
Toggle table of contents
0.37.0
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
LiquidBounce
LiquidBounce
/
net.ccbluex.liquidbounce.render.engine.type
/
Vec3f
Vec3f
@
JvmRecord
data
class
Vec3f
(
val
x
:
Float
,
val
y
:
Float
,
val
z
:
Float
)
:
Record
Members
Constructors
Vec3f
Link copied to clipboard
constructor
(
x
:
Float
,
y
:
Float
,
z
:
Float
)
constructor
(
x
:
Double
,
y
:
Double
,
z
:
Double
)
constructor
(
vec
:
Position
)
constructor
(
vec
:
Vec3i
)
Types
Companion
Link copied to clipboard
object
Companion
Properties
x
Link copied to clipboard
val
x
:
Float
y
Link copied to clipboard
val
y
:
Float
z
Link copied to clipboard
val
z
:
Float
Functions
add
Link copied to clipboard
fun
add
(
other
:
Vec3f
)
:
Vec3f
fun
add
(
x
:
Float
,
y
:
Float
,
z
:
Float
)
:
Vec3f
length
Link copied to clipboard
fun
length
(
)
:
Float
length
Sqr
Link copied to clipboard
fun
lengthSqr
(
)
:
Float
minus
Link copied to clipboard
operator
fun
minus
(
other
:
Vec3f
)
:
Vec3f
normalized
Link copied to clipboard
fun
normalized
(
)
:
Vec3f
plus
Link copied to clipboard
operator
fun
plus
(
other
:
Vec3f
)
:
Vec3f
rotate
X
Link copied to clipboard
fun
rotateX
(
angle
:
Float
)
:
Vec3f
rotate
Y
Link copied to clipboard
fun
rotateY
(
angle
:
Float
)
:
Vec3f
times
Link copied to clipboard
operator
fun
times
(
scale
:
Float
)
:
Vec3f
to
Vec3d
Link copied to clipboard
fun
toVec3d
(
)
:
Vec3
unary
Minus
Link copied to clipboard
operator
fun
unaryMinus
(
)
:
Vec3f