mirror of
https://github.com/Jozufozu/Flywheel.git
synced 2024-12-28 16:06:28 +01:00
Merge branch 'dev' into shader-pipeline
This commit is contained in:
commit
2ab0e221ce
1 changed files with 2 additions and 5 deletions
|
@ -37,11 +37,8 @@ public class VecBuffer {
|
|||
|
||||
public VecBuffer putFloatArray(float[] floats) {
|
||||
|
||||
for (float f : floats) {
|
||||
internal.putFloat(f);
|
||||
}
|
||||
// internal.asFloatBuffer().put(floats);
|
||||
// internal.position(internal.position() + floats.length * 4);
|
||||
internal.asFloatBuffer().put(floats);
|
||||
internal.position(internal.position() + floats.length * 4);
|
||||
|
||||
return this;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue