public static class Vec2Array.Builder extends java.lang.Object implements IndexedData<Vec2>
| Modifier and Type | Field and Description |
|---|---|
protected static int |
INCREMENT |
| Modifier and Type | Method and Description |
|---|---|
void |
add(float x,
float y) |
void |
add(Vec2 v) |
void |
add(Vec2Array.Builder points) |
void |
add(Vec2Array points) |
void |
allocate(int num) |
T |
build() |
void |
clear() |
Vec2 |
get(int index,
Vec2 dst) |
boolean |
isEmpty() |
void |
set(int index,
float x,
float y) |
int |
size() |
protected static final int INCREMENT
public void add(Vec2Array.Builder points)
public void add(Vec2Array points)
public void add(Vec2 v)
public void add(float x,
float y)
public void set(int index,
float x,
float y)
public Vec2 get(int index, Vec2 dst)
get in interface IndexedData<Vec2>public void clear()
public void allocate(int num)
public boolean isEmpty()
public int size()
public T build()
Bonzai Engine 1.4.1-20200831 - A Java OpenGL engine and tools for Windows/Mac/Linux/Android
Copyright © 2007-2019 Jérôme Jouvie bonzaiengine.com contact@bonzaiengine.com