Last change
on this file since 65 was
65,
checked in by Maciej Komosinski, 13 years ago
|
added sources of the 3D client for the Framsticks server
|
File size:
439 bytes
|
Line | |
---|
1 | package pl.vorg.mowa.core.graphics;
|
---|
2 |
|
---|
3 | /**
|
---|
4 | * A buffer of a vertice's attributes (e.g., position, color) represented with
|
---|
5 | * floats.
|
---|
6 | *
|
---|
7 | * @author vorg
|
---|
8 | */
|
---|
9 | public class FloatVertexAttrib extends VertexAttrib {
|
---|
10 | private float[] buffer;
|
---|
11 |
|
---|
12 | public FloatVertexAttrib(String name) {
|
---|
13 | super(name);
|
---|
14 | }
|
---|
15 |
|
---|
16 | public float[] getBuffer() {
|
---|
17 | return buffer;
|
---|
18 | }
|
---|
19 |
|
---|
20 | public void setBuffer(float[] buffer) {
|
---|
21 | this.buffer = buffer;
|
---|
22 | }
|
---|
23 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.