Revision 6c00149d
Added by Leszek Koltunski over 5 years ago
src/main/java/org/distorted/library/main/DistortedBuffer.java | ||
---|---|---|
33 | 33 |
*/ |
34 | 34 |
public class DistortedBuffer extends DistortedObject |
35 | 35 |
{ |
36 |
int[] mIndex; |
|
36 |
public int[] mIndex;
|
|
37 | 37 |
|
38 | 38 |
private int mTarget, mSize, mUsage; |
39 | 39 |
private Buffer mBuffer; |
40 | 40 |
|
41 | 41 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
42 | 42 |
|
43 |
DistortedBuffer(int target, int usage) |
|
43 |
public DistortedBuffer(int target, int usage)
|
|
44 | 44 |
{ |
45 | 45 |
super(DistortedObject.NOT_CREATED_YET,DistortedObject.TYPE_USER); |
46 | 46 |
|
... | ... | |
53 | 53 |
|
54 | 54 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
55 | 55 |
|
56 |
void setData(int size, Buffer buffer) |
|
56 |
public void setData(int size, Buffer buffer)
|
|
57 | 57 |
{ |
58 | 58 |
mSize = size; |
59 | 59 |
mBuffer = buffer; |
Also available in: Unified diff
Fully move the Meshes to their own package.