mirror of
https://github.com/Jozufozu/Flywheel.git
synced 2024-11-13 05:54:01 +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