|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.hardcorepawn.SuperPoint
public class SuperPoint
This class allows you to create a large number of points in OPENGL mode in processing.
| Constructor Summary | |
|---|---|
SuperPoint(processing.core.PApplet p)
Create a new SuperPoint object like: |
|
| Method Summary | |
|---|---|
void |
addPoint(float x,
float y,
float z,
float r,
float g,
float b,
float a)
Add a new point to the list. |
void |
draw(float size)
Draws the points. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SuperPoint(processing.core.PApplet p)
SuperPoint p;
void setup()
{
//size etc...
p=new SuperPoint(this);
}
p - | Method Detail |
|---|
public void addPoint(float x,
float y,
float z,
float r,
float g,
float b,
float a)
public void draw(float size)
size - - the size of the points. Note some OpenGL implementations don't support large sizes.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||