openrndr
Toggle table of contents
0.4.5-dev.17.uncommitted+81afe70
common
Platform filter
common
Switch theme
Search in API
openrndr
openrndr-kartifex
/
org.openrndr.kartifex
/
Vec4
Vec4
@
JvmRecord
data
class
Vec4
(
val
x
:
Double
,
val
y
:
Double
,
val
z
:
Double
,
val
w
:
Double
)
:
Vec
<
Vec4
>
(
source
)
Members
Constructors
Vec4
Link copied to clipboard
constructor
(
x
:
Double
,
y
:
Double
,
z
:
Double
,
w
:
Double
)
Types
Companion
Link copied to clipboard
object
Companion
Properties
w
Link copied to clipboard
val
w
:
Double
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
abs
Link copied to clipboard
open
fun
abs
(
)
:
Vec4
add
Link copied to clipboard
open
fun
add
(
n
:
Double
)
:
Vec4
open
fun
add
(
v
:
Vec4
)
:
Vec4
any
Link copied to clipboard
open
override
fun
any
(
f
:
DoublePredicate
)
:
Boolean
array
Link copied to clipboard
open
override
fun
array
(
)
:
DoubleArray
clamp
Link copied to clipboard
open
fun
clamp
(
min
:
Double
,
max
:
Double
)
:
Vec4
open
fun
clamp
(
min
:
Vec4
,
max
:
Vec4
)
:
Vec4
compare
To
Link copied to clipboard
open
operator override
fun
compareTo
(
other
:
Vec4
)
:
Int
dim
Link copied to clipboard
open
override
fun
dim
(
)
:
Int
div
Link copied to clipboard
open
operator
fun
div
(
k
:
Double
)
:
Vec4
open
operator
fun
div
(
v
:
Vec4
)
:
Vec4
equals
Link copied to clipboard
open
operator override
fun
equals
(
other
:
Any
?
)
:
Boolean
every
Link copied to clipboard
open
override
fun
every
(
f
:
DoublePredicate
)
:
Boolean
hash
Code
Link copied to clipboard
open
override
fun
hashCode
(
)
:
Int
length
Link copied to clipboard
open
fun
length
(
)
:
Double
length
Squared
Link copied to clipboard
open
fun
lengthSquared
(
)
:
Double
map
Link copied to clipboard
open
override
fun
map
(
f
:
DoubleUnaryOperator
)
:
Vec4
mul
Link copied to clipboard
open
fun
mul
(
k
:
Double
)
:
Vec4
open
fun
mul
(
v
:
Vec4
)
:
Vec4
negate
Link copied to clipboard
open
fun
negate
(
)
:
Vec4
norm
Link copied to clipboard
open
fun
norm
(
)
:
Vec4
nth
Link copied to clipboard
open
override
fun
nth
(
idx
:
Int
)
:
Double
pseudo
Norm
Link copied to clipboard
open
fun
pseudoNorm
(
)
:
Vec4
reduce
Link copied to clipboard
open
override
fun
reduce
(
f
:
DoubleBinaryOperator
)
:
Double
open
override
fun
reduce
(
f
:
DoubleBinaryOperator
,
init
:
Double
)
:
Double
sub
Link copied to clipboard
open
fun
sub
(
n
:
Double
)
:
Vec4
open
fun
sub
(
v
:
Vec4
)
:
Vec4
to
String
Link copied to clipboard
open
override
fun
toString
(
)
:
String
vec2
Link copied to clipboard
fun
vec2
(
)
:
Vec2
vec3
Link copied to clipboard
fun
vec3
(
)
:
Vec3
zip
Link copied to clipboard
open
override
fun
zip
(
v
:
Vec4
,
f
:
DoubleBinaryOperator
)
:
Vec4