Package | Description |
---|---|
rope.core | |
rope.costume | |
rope.vector |
Modifier and Type | Method and Description |
---|---|
void |
R_Image.set(vec2 pos,
int c) |
void |
R_Image.set(vec2 pos,
int c,
processing.core.PGraphics other) |
void |
R_Image.vertex(vec2 v,
vec2 uv) |
void |
R_Image.vertex(vec2 coord,
vec2 uv,
processing.core.PGraphics other) |
void |
R_Image.vertex(vec3 v,
vec2 uv) |
void |
R_Image.vertex(vec3 coord,
vec2 uv,
processing.core.PGraphics other) |
Modifier and Type | Method and Description |
---|---|
vec2 |
R_Line2D.a() |
vec2 |
R_Line2D.b() |
vec2 |
R_Primitive.get_dir() |
vec2 |
R_Line2D.intersection(R_Line2D target)
Return the intersection point between this line and an other one.
|
vec2 |
R_Line2D.intersection(R_Line2D target,
vec2... exception)
Return the intersection point between this line and an other one.
|
Modifier and Type | Method and Description |
---|---|
void |
R_Line2D.a(vec2 a) |
void |
R_Line2D.b(vec2 b) |
vec2 |
R_Line2D.intersection(R_Line2D target,
vec2... exception)
Return the intersection point between this line and an other one.
|
R_Line2D |
R_Line2D.offset(vec2 offset)
make a displacement of the line
|
void |
R_Line2D.set(vec2 a,
vec2 b) |
Constructor and Description |
---|
R_Line2D(processing.core.PApplet pa,
vec2 a,
vec2 b) |
R_Primitive(processing.core.PApplet pa,
int summits,
float angle,
vec2 dir) |
R_Primitive(processing.core.PApplet pa,
int summits,
float angle,
vec2 dir,
processing.core.PGraphics other) |
Modifier and Type | Method and Description |
---|---|
vec2 |
vec.ab() |
vec2 |
vec2.add(float a) |
vec2 |
vec2.add(float a_a,
float a_b)
add float value
|
vec2 |
vec2.add(ivec v) |
vec2 |
vec2.add(vec v) |
vec2 |
vec2.constrain(float min,
float max)
Constrains a value to not exceed a maximum and minimum value.
|
vec2 |
vec2.constrain(vec2 min,
vec2 max)
Constrains a value to not exceed a maximum and minimum value.
|
vec2 |
vec2.copy()
copy() return all the component of vec
|
vec2 |
vec2.cos_wave(int value,
float s)
WAVE COSINUS
|
vec2 |
vec2.cos_wave(int value,
float sx,
float sy) |
vec2 |
vec2.dir()
return normal cartesian angle coord
|
vec2 |
vec2.dir(float a_x,
float a_y)
return normal cartesian angle coord
|
vec2 |
vec2.dir(vec2 origin)
return normal cartesian angle coord
|
vec2 |
vec2.div(float d) |
vec2 |
vec2.div(float d_x,
float d_y)
divide Vector by a float value
|
vec2 |
vec2.div(ivec v) |
vec2 |
vec2.div(vec v) |
vec2 |
vec2.jitter(int range)
JITTER
|
vec2 |
vec2.jitter(int range_x,
int range_y) |
vec2 |
vec2.jitter(vec2 range) |
vec2 |
vec2.limit(float max) |
vec2 |
vec2.map(float minIn,
float maxIn,
float minOut,
float maxOut) |
vec2 |
vec2.map(vec2 minIn,
vec2 maxIn,
vec2 minOut,
vec2 maxOut) |
vec2 |
vec2.mult(float m) |
vec2 |
vec2.mult(float m_x,
float m_y)
multiply Vector by different float value
|
vec2 |
vec2.mult(ivec v) |
vec2 |
vec2.mult(vec v) |
vec2 |
vec2.normalize() |
vec2 |
vec2.normalize(vec2 target)
Normalize
|
vec2 |
vec2.pow(int pow)
POW
|
vec2 |
vec2.pow(int pow_x,
int pow_y) |
vec2 |
vec.pq() |
vec2 |
vec2.rand(float max)
random
|
vec2 |
vec2.rand(float min,
float max)
random
|
vec2 |
vec2.rand(vec2 mx,
vec2 my)
random
|
vec2 |
vec2.s(float x) |
vec2 |
vec2.set(float v) |
vec2 |
vec2.set(float[] source) |
vec2 |
vec2.set(float x,
float y) |
vec2 |
vec2.set(int[] source) |
vec2 |
vec2.set(ivec v) |
vec2 |
vec2.set(vec v) |
vec2 |
vec2.sin_wave(int value,
float s)
WAVE SINUS
|
vec2 |
vec2.sin_wave(int value,
float sx,
float sy) |
vec2 |
vec.st() |
vec2 |
vec2.sub(float s) |
vec2 |
vec2.sub(float s_a,
float s_b)
Substraction
|
vec2 |
vec2.sub(ivec v) |
vec2 |
vec2.sub(vec v) |
vec2 |
vec2.t(float y) |
vec2 |
vec2.tan()
return tangent of the vector direction
|
vec2 |
vec2.tan(float a_x,
float a_y)
return tangent of the vector direction
|
vec2 |
vec2.tan(vec2 target)
return tangent of the vector direction
|
vec2 |
vec2.u(float x) |
vec2 |
vec.uv()
return multi float component
|
vec2 |
vec2.v(float y) |
vec2 |
vec.ww() |
vec2 |
vec.wx() |
vec2 |
vec.wy() |
vec2 |
vec.wz() |
vec2 |
vec2.x(float x) |
vec2 |
vec.xw() |
vec2 |
vec.xx() |
vec2 |
vec.xy() |
vec2 |
vec.xz() |
vec2 |
vec2.y(float y) |
vec2 |
vec.yw() |
vec2 |
vec.yx() |
vec2 |
vec.yy() |
vec2 |
vec.yz() |
vec2 |
vec.zw() |
vec2 |
vec.zx() |
vec2 |
vec.zy() |
vec2 |
vec.zz() |
Modifier and Type | Method and Description |
---|---|
float |
vec2.angle(vec2 target)
return heading angle
|
boolean |
vec2.compare(vec2 target,
vec2 area)
return true if the vector this and vector target are in the same vector area
|
vec2 |
vec2.constrain(vec2 min,
vec2 max)
Constrains a value to not exceed a maximum and minimum value.
|
vec2 |
vec2.dir(vec2 origin)
return normal cartesian angle coord
|
boolean |
vec2.equals(vec2 target)
return true if the vector this is equals to vector target
|
vec2 |
vec2.jitter(vec2 range) |
vec2 |
vec2.map(vec2 minIn,
vec2 maxIn,
vec2 minOut,
vec2 maxOut) |
vec2 |
vec2.normalize(vec2 target)
Normalize
|
vec2 |
vec2.rand(vec2 mx,
vec2 my)
random
|
vec3 |
vec3.rand(vec2 mx,
vec2 my,
vec2 mz)
random
|
vec4 |
vec4.rand(vec2 mx,
vec2 my,
vec2 mz,
vec2 mw)
random
|
vec2 |
vec2.tan(vec2 target)
return tangent of the vector direction
|