@luma.gl/constants
Advanced tools
Comparing version 9.0.0-alpha.35 to 9.0.0-alpha.36
import { GL } from './constants-enum'; | ||
/** Type covering all typed arrays and classic arrays consisting of numbers */ | ||
export type NumberArray = number[] | TypedArray; | ||
/** Type covering all typed arrays and classic arrays consisting of numbers */ | ||
export type NumericArray = TypedArray | number[]; | ||
/** TypeScript type covering all typed arrays */ | ||
export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array; | ||
/** type covering all typed arrays and classic arrays consisting of numbers */ | ||
export type NumberArray = number[] | TypedArray; | ||
/** We don't know the type of Framebuffer at this stage */ | ||
@@ -7,0 +10,0 @@ type Framebuffer = unknown; |
{ | ||
"name": "@luma.gl/constants", | ||
"version": "9.0.0-alpha.35", | ||
"version": "9.0.0-alpha.36", | ||
"description": "WebGL and WebGL2 constants", | ||
@@ -41,3 +41,3 @@ "type": "module", | ||
}, | ||
"gitHead": "5b93557731aaf1b9fd0fc1d84b5a3c7c0717298a" | ||
"gitHead": "05d6f82f0006047f9a6a562a1da1011d3b6b15e3" | ||
} |
// luma.gl, MIT license | ||
/* eslint-disable camelcase */ | ||
import {GL} from './constants-enum'; | ||
/* eslint-disable camelcase */ // TODO is this needed? | ||
/** Type covering all typed arrays and classic arrays consisting of numbers */ | ||
export type NumberArray = number[] | TypedArray; | ||
/** Type covering all typed arrays and classic arrays consisting of numbers */ | ||
export type NumericArray = TypedArray | number[]; | ||
@@ -20,3 +23,2 @@ /** TypeScript type covering all typed arrays */ | ||
/** type covering all typed arrays and classic arrays consisting of numbers */ | ||
export type NumberArray = number[] | TypedArray; | ||
@@ -23,0 +25,0 @@ /** We don't know the type of Framebuffer at this stage */ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
363921
4490