Last change
on this file since 66 was
66,
checked in by Maciej Komosinski, 13 years ago
|
set 'eol-style' to 'native'
|
-
Property svn:eol-style set to
native
|
File size:
416 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.