feat: bkon read

This commit is contained in:
TrèsAbhi committed 2024-02-04 11:06:26 -06:00
1 parent 559fb30da9
commit 43b6453fcb
5 files changed
+318 -3

No files matched your search

+2 -2
View File
@@ -57,7 +57,7 @@ export enum VertexAttribute {
export class ScpgStream extends BufferStream {
vectorN(size: number) {
return times(size, () => this.float());
return times(size, () => this.float32());
}
vector2() {
return this.vectorN(2);
@@ -107,7 +107,7 @@ export class ScpgStream extends BufferStream {
}
case KAType.FLOAT:
return this.float();
return this.float32();
case KAType.ARRAY: {
const length = this.uint32();