mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-11-13 04:36:12 +01:00
feat: bkon read
This commit is contained in:
1 parent
559fb30da9
commit
43b6453fcb
5 files changed
+318
-3
No files matched your search
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user