public static class Vec3Array.Builder extends java.lang.Object implements IndexedData<Vec3>
| Modifier and Type | Field and Description |
|---|---|
protected static int |
INCREMENT |
| Modifier and Type | Method and Description |
|---|---|
void |
add(float x,
float y,
float z) |
void |
add(Vec3 v) |
void |
add(Vec3Array.Builder points) |
void |
add(Vec3Array points) |
void |
allocate(int num) |
T |
build() |
void |
clear() |
Vec3 |
get(int index,
Vec3 dst) |
boolean |
isEmpty() |
void |
set(int index,
float x,
float y,
float z) |
int |
size() |
protected static final int INCREMENT
public void add(Vec3Array.Builder points)
public void add(Vec3Array points)
public void add(Vec3 v)
public void add(float x,
float y,
float z)
public void set(int index,
float x,
float y,
float z)
public Vec3 get(int index, Vec3 dst)
get in interface IndexedData<Vec3>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