public class ivec3 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 |
---|
ivec3() |
ivec3(int v) |
ivec3(int x,
int y,
int z) |
ivec3(ivec v) |
Modifier and Type | Method and Description |
---|---|
ivec3 |
add(int a) |
ivec3 |
add(int a_x,
int a_y,
int a_z)
add
|
ivec3 |
add(ivec v) |
ivec3 |
copy()
copy
|
ivec3 |
div(int d) |
ivec3 |
div(int d_x,
int d_y,
int d_z)
div
|
ivec3 |
div(ivec v) |
boolean |
equals(int target) |
boolean |
equals(int tx,
int ty,
int tz) |
boolean |
equals(ivec3 target)
equals
|
ivec3 |
mult(int m) |
ivec3 |
mult(int m_x,
int m_y,
int m_z)
mult
|
ivec3 |
mult(ivec v) |
ivec3 |
set_b(int z) |
ivec3 |
set_g(int y) |
ivec3 |
set_p(int z) |
ivec3 |
set_r(int x) |
ivec3 |
set_s(int x) |
ivec3 |
set_t(int y) |
ivec3 |
set_x(int x) |
ivec3 |
set_y(int y) |
ivec3 |
set_z(int z) |
ivec3 |
set(int arg) |
ivec3 |
set(int x,
int y,
int z)
set
|
ivec3 |
set(ivec v) |
ivec3 |
sub(int a) |
ivec3 |
sub(int a_x,
int a_y,
int a_z)
sub
|
ivec3 |
sub(ivec v) |
int |
sum()
sum
|
java.lang.String |
toString() |
random_next_gaussian, random_next_gaussian, random_next_gaussian, random_next_gaussian, version
public ivec3()
public ivec3(int v)
public ivec3(int x, int y, int z)
public ivec3(ivec v)
public ivec3 set(int x, int y, int z)
x
- y
- z
- public ivec3 set(int arg)
public ivec3 set_x(int x)
public ivec3 set_y(int y)
public ivec3 set_z(int z)
public ivec3 set_r(int x)
public ivec3 set_g(int y)
public ivec3 set_b(int z)
public ivec3 set_s(int x)
public ivec3 set_t(int y)
public ivec3 set_p(int z)
public int sum()
public ivec3 mult(int m_x, int m_y, int m_z)
m_x
- m_y
- m_z
- public ivec3 mult(int m)
public ivec3 div(int d_x, int d_y, int d_z)
d_x
- d_y
- d_z
- public ivec3 div(int d)
public ivec3 add(int a_x, int a_y, int a_z)
a_x
- a_y
- a_z
- public ivec3 add(int a)
public ivec3 sub(int a_x, int a_y, int a_z)
a_x
- a_y
- a_z
- public ivec3 sub(int a)
public boolean equals(ivec3 target)
target
- public boolean equals(int target)
public boolean equals(int tx, int ty, int tz)
public ivec3 copy()
public java.lang.String toString()
toString
in class java.lang.Object
Processing Library Rope by Stanlepunk. (c) 2019