mirror of
https://github.com/Jozufozu/Flywheel.git
synced 2024-11-10 20:45:59 +01:00
Merge branch 'dev' into shader-pipeline
This commit is contained in:
commit
5956fbfaa0
@ -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 New Issue
Block a user