mirror of
https://github.com/Jozufozu/Flywheel.git
synced 2024-11-14 06:24:12 +01:00
Merge branch 'dev' into shader-pipeline
This commit is contained in:
commit
2ab0e221ce
@ -37,11 +37,8 @@ public class VecBuffer {
|
|||||||
|
|
||||||
public VecBuffer putFloatArray(float[] floats) {
|
public VecBuffer putFloatArray(float[] floats) {
|
||||||
|
|
||||||
for (float f : floats) {
|
internal.asFloatBuffer().put(floats);
|
||||||
internal.putFloat(f);
|
internal.position(internal.position() + floats.length * 4);
|
||||||
}
|
|
||||||
// internal.asFloatBuffer().put(floats);
|
|
||||||
// internal.position(internal.position() + floats.length * 4);
|
|
||||||
|
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user