public class iVec4 extends iVec
ALPHA, BLACK, BLANC, BLANK, BLEU, BLOOD, BLUE, BOTTLE, BOUTEILLE, BRIGHTNESS, CARMIN, CARMINE, CARTESIAN, CHAOS, COS, CYAN, DRAW, DYNAMIC, EQUATION, EULER, FIT, FLUID, G, GARNET, GARNET_DEEP, GOLD, GOLD_ANGLE, GOLD_NUMBER, GRAVITY, GRAY_1, GRAY_2, GRAY_3, GRAY_4, GRAY_5, GRAY_6, GRAY_7, GRAY_8, GRAY_9, GRAY_MEDIUM, GREEN, GRENAT, GRENAT_PROFOND, GRIS, GRIS_1, GRIS_2, GRIS_3, GRIS_4, GRIS_5, GRIS_6, GRIS_7, GRIS_8, GRIS_9, GRIS_MOYEN, HUE, JAUNE, MAGENTA, MAGNETIC, MIX, NOIR, NONE, NOTHING, NULL, OR, ORANGE, ORDER, PERLIN, PHI, PINK, PIXEL, POLAR, PURPLE, RANDOM, RANDOM_2, RANDOM_3, RANDOM_4, RANDOM_QUARTER, RANDOM_RANGE, RANDOM_ROOT, RANDOM_X_A, RANDOM_X_B, RANDOM_ZERO, RED, ROOT2, ROSE, ROUGE, SANG, SATURATION, SIN, STAR, STATIC, TAN, TRIG_0, TRIG_1, TRIG_2, TRIG_3, TRIG_4, VERT, VIOLET, WHITE, YELLOW
Constructor and Description |
---|
iVec4() |
iVec4(int v) |
iVec4(int x,
int y,
int z,
int w) |
iVec4(iVec v) |
Modifier and Type | Method and Description |
---|---|
iVec4 |
add(int a) |
iVec4 |
add(int a_x,
int a_y,
int a_z,
int a_w)
add
|
iVec4 |
add(iVec v) |
iVec4 |
copy()
copy
|
iVec4 |
div(int d) |
iVec4 |
div(int d_x,
int d_y,
int d_z,
int d_w)
div
|
iVec4 |
div(iVec v) |
boolean |
equals(int target) |
boolean |
equals(int tx,
int ty,
int tz,
int tw) |
boolean |
equals(iVec4 target)
equals
|
iVec4 |
mult(int m) |
iVec4 |
mult(int m_x,
int m_y,
int m_z,
int m_w)
mult
|
iVec4 |
mult(iVec v) |
iVec4 |
set_a(int w) |
iVec4 |
set_b(int z) |
iVec4 |
set_g(int y) |
iVec4 |
set_p(int z) |
iVec4 |
set_q(int w) |
iVec4 |
set_r(int x) |
iVec4 |
set_s(int x) |
iVec4 |
set_t(int y) |
iVec4 |
set_w(int w) |
iVec4 |
set_x(int x) |
iVec4 |
set_y(int y) |
iVec4 |
set_z(int z) |
iVec4 |
set(int arg) |
iVec4 |
set(int x,
int y,
int z,
int w)
set
|
iVec4 |
set(iVec v) |
iVec4 |
sub(int a) |
iVec4 |
sub(int a_x,
int a_y,
int a_z,
int a_w)
sub
|
iVec4 |
sub(iVec v) |
int |
sum()
sum
|
java.lang.String |
toString() |
random_next_gaussian, random_next_gaussian, random_next_gaussian, random_next_gaussian, version
public iVec4()
public iVec4(int v)
public iVec4(int x, int y, int z, int w)
public iVec4(iVec v)
public iVec4 set(int x, int y, int z, int w)
x
- y
- z
- w
- public iVec4 set(int arg)
public iVec4 set_x(int x)
public iVec4 set_y(int y)
public iVec4 set_z(int z)
public iVec4 set_w(int w)
public iVec4 set_r(int x)
public iVec4 set_g(int y)
public iVec4 set_b(int z)
public iVec4 set_a(int w)
public iVec4 set_s(int x)
public iVec4 set_t(int y)
public iVec4 set_p(int z)
public iVec4 set_q(int w)
public int sum()
public iVec4 mult(int m_x, int m_y, int m_z, int m_w)
m_x
- m_y
- m_z
- m_w
- public iVec4 mult(int m)
public iVec4 div(int d_x, int d_y, int d_z, int d_w)
d_x
- d_y
- d_z
- d_w
- public iVec4 div(int d)
public iVec4 add(int a_x, int a_y, int a_z, int a_w)
a_x
- a_y
- a_z
- a_w
- public iVec4 add(int a)
public iVec4 sub(int a_x, int a_y, int a_z, int a_w)
a_x
- a_y
- a_z
- a_w
- public iVec4 sub(int a)
public boolean equals(iVec4 target)
target
- public boolean equals(int target)
public boolean equals(int tx, int ty, int tz, int tw)
public iVec4 copy()
public java.lang.String toString()
toString
in class java.lang.Object
Processing Library Rope by Stanlepunk. (c) 2019