mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 03:29:51 +02:00
feat: more prog
This commit is contained in:
1 parent
4ffb7cac7c
commit
2f650af0f7
6 files changed
+46
-26
No files matched your search
@@ -1,5 +1,5 @@
|
||||
import { times } from 'lodash';
|
||||
import { PrimitiveStream } from './primitive';
|
||||
import { ByteStream } from './byte';
|
||||
|
||||
enum KAType {
|
||||
NONE = 0,
|
||||
@@ -55,7 +55,7 @@ export enum VertexAttribute {
|
||||
CUBETEXCOORD3 = 19,
|
||||
}
|
||||
|
||||
export class ScpgStream extends PrimitiveStream {
|
||||
export class ScpgStream extends ByteStream {
|
||||
vectorN(size: number) {
|
||||
return times(size, () => this.float());
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user