@luma.gl/core 8.6.0-alpha.3 → 8.6.0-alpha.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -204,5 +204,5 @@ export declare const pbr: {
204
204
  };
205
205
  }[];
206
206
  };
207
- export { createGLContext, instrumentGLContext, FEATURES, hasFeature, hasFeatures } from '@luma.gl/gltools';
207
+ export { createGLContext, instrumentGLContext, FEATURES, hasFeature, hasFeatures } from '@luma.gl/webgl';
208
208
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAC,GAAG,EAAE,MAAM,EAAE,GAAG,EAAC,MAAM,cAAc,CAAC;AAK9C,OAAO,EACL,aAAa,EACb,KAAK,EACL,SAAS,EACT,cAAc,EACd,QAAQ,EACT,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EACL,QAAQ,EACR,SAAS,EACT,YAAY,EACZ,YAAY,EACZ,gBAAgB,EAChB,iBAAiB,EACjB,aAAa,EACb,cAAc,EACd,qBAAqB,EACtB,MAAM,iBAAiB,CAAC;AAMzB,OAAO,EACL,OAAO,IAAI,iBAAiB,EAC5B,QAAQ,IAAI,kBAAkB,EAC9B,aAAa,IAAI,uBAAuB,EACxC,aAAa,IAAI,uBAAuB,EACxC,cAAc,IAAI,wBAAwB,EAC1C,eAAe,IAAI,yBAAyB,EAC5C,gBAAgB,IAAI,0BAA0B,EAC9C,iBAAiB,IAAI,2BAA2B,EAEhD,MAAM,IAAI,gBAAgB,EAC1B,OAAO,IAAI,iBAAiB,EAC5B,WAAW,IAAI,qBAAqB,EACpC,YAAY,IAAI,sBAAsB,EACtC,SAAS,IAAI,mBAAmB,EAChC,WAAW,IAAI,qBAAqB,EACpC,KAAK,IAAI,eAAe,EACxB,iBAAiB,IAAI,2BAA2B,EAChD,kBAAkB,IAAI,4B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;;;;;;;;;;;;;;;;;;;;;;;;;CAA0B,CAAC;AACrD,8DAA8D;AAC9D,eAAO,MAAM,GAAG;;;;;;;;;;;;;;;;;;;;;;CAAgB,CAAC;AAGjC,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,QAAQ,EACR,UAAU,EACV,WAAW,EACZ,MAAM,gBAAgB,CAAC"}
package/dist/index.js CHANGED
@@ -34,5 +34,5 @@ export const picking = pickingDeprecated;
34
34
  export const gouraudLighting = gouraudLightingDeprecated;
35
35
  export const phongLighting = phongLightingDeprecated;
36
36
  export const pbr = pbrDeprecated;
37
- export { createGLContext, instrumentGLContext, FEATURES, hasFeature, hasFeatures } from '@luma.gl/gltools';
37
+ export { createGLContext, instrumentGLContext, FEATURES, hasFeature, hasFeatures } from '@luma.gl/webgl';
38
38
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/index.ts"],"names":["log","assert","uid","AnimationLoop","Model","Transform","ProgramManager","Timeline","Geometry","ClipSpace","ConeGeometry","CubeGeometry","CylinderGeometry","IcoSphereGeometry","PlaneGeometry","SphereGeometry","TruncatedConeGeometry","isWebGL","isWebGLDeprecated","isWebGL2","isWebGL2Deprecated","getParameters","getParametersDeprecated","setParameters","setParametersDeprecated","withParameters","withParametersDeprecated","resetParameters","resetParametersDeprecated","cssToDeviceRatio","cssToDeviceRatioDeprecated","cssToDevicePixels","cssToDevicePixelsDeprecated","lumaStats","lumaStatsDeprecated","Buffer","BufferDeprecated","Program","ProgramDeprecated","Framebuffer","FramebufferDeprecated","Renderbuffer","RenderbufferDeprecated","Texture2D","Texture2DDeprecated","TextureCube","TextureCubeDeprecated","clear","clearDeprecated","readPixelsToArray","readPixelsToArrayDeprecated","readPixelsToBuffer","readPixelsToBufferDeprecated","cloneTextureFrom","cloneTextureFromDeprecated","copyToTexture","copyToTextureDeprecated","Texture3D","Texture3DDeprecated","TransformFeedback","TransformFeedbackDeprecated","normalizeShaderModule","normalizeShaderModuleDeprecated","fp32","fp32Deprecated","fp64","fp64Deprecated","project","projectDeprecated","dirlight","dirlightDeprecated","picking","pickingDeprecated","gouraudLighting","gouraudLightingDeprecated","phongLighting","phongLightingDeprecated","pbr","pbrDeprecated","createGLContext","instrumentGLContext","FEATURES","hasFeature","hasFeatures"],"mappings":"AAIA,SAAQA,GAAR,EAAaC,MAAb,EAAqBC,GAArB,QAA+B,cAA/B;AAKA,SACEC,aADF,EAEEC,KAFF,EAGEC,SAHF,EAIEC,cAJF,EAKEC,QALF,QAMO,iBANP;AAQA,SACEC,QADF,EAEEC,SAFF,EAGEC,YAHF,EAIEC,YAJF,EAKEC,gBALF,EAMEC,iBANF,EAOEC,aAPF,EAQEC,cARF,EASEC,qBATF,QAUO,iBAVP;AAgBA,SACEC,OAAO,IAAIC,iBADb,EAEEC,QAAQ,IAAIC,kBAFd,EAGEC,aAAa,IAAIC,uBAHnB,EAIEC,aAAa,IAAIC,uBAJnB,EAKEC,cAAc,IAAIC,wBALpB,EAMEC,eAAe,IAAIC,yBANrB,EAOEC,gBAAgB,IAAIC,0BAPtB,EAQEC,iBAAiB,IAAIC,2BARvB,EASEC,SAAS,IAAIC,mBATf,EAUEC,MAAM,IAAIC,gBAVZ,EAWEC,OAAO,IAAIC,iBAXb,EAYEC,WAAW,IAAIC,qBAZjB,EAaEC,YAAY,IAAIC,sBAblB,EAcEC,SAAS,IAAIC,mBAdf,EAeEC,WAAW,IAAIC,qBAfjB,EAgBEC,KAAK,IAAIC,eAhBX,EAiBEC,iBAAiB,IAAIC,2BAjBvB,EAkBEC,kBAAkB,IAAIC,4BAlBxB,EAmBEC,gBAAgB,IAAIC,0BAnBtB,EAoBEC,aAAa,IAAIC,uBApBnB,EAqBEC,SAAS,IAAIC,mBArBf,EAsBEC,iBAAiB,IAAIC,2BAtBvB,QAuBO,gBAvBP;AA0BA,OAAO,MAAM3C,OAAO,GAAGC,iBAAhB;AAEP,OAAO,MAAMC,QAAQ,GAAGC,kBAAj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C,OAAO,GAAGC,iBAAhB;AAEP,OAAO,MAAMC,QAAQ,GAAGC,kBAAjB;AAEP,OAAO,MAAMC,OAAO,GAAGC,iBAAhB;AAEP,OAAO,MAAMC,eAAe,GAAGC,yBAAxB;AAEP,OAAO,MAAMC,aAAa,GAAGC,uBAAtB;AAEP,OAAO,MAAMC,GAAG,GAAGC,aAAZ;AAGP,SACEC,eADF,EAEEC,mBAFF,EAGEC,QAHF,EAIEC,UAJF,EAKEC,WALF,QAMO,kBANP","sourcesContent":["// luma.gl, MIT license\n// core module exports\n\n// UTILS: undocumented API for other luma.gl modules\nexport {log, assert, uid} from '@luma.gl/api';\n\n// CORE MODULE EXPORTS FOR LUMA.GL\n\n// ENGINE\nexport {\n AnimationLoop,\n Model,\n Transform,\n ProgramManager,\n Timeline\n} from '@luma.gl/engine';\n\nexport {\n Geometry,\n ClipSpace,\n ConeGeometry,\n CubeGeometry,\n CylinderGeometry,\n IcoSphereGeometry,\n PlaneGeometry,\n SphereGeometry,\n TruncatedConeGeometry\n} from '@luma.gl/engine';\n\n// TODO - the following exports will be removed in v9\n\n// WEBGL - importing from `@luma.gl/core` is deprecated\n\nimport {\n isWebGL as isWebGLDeprecated,\n isWebGL2 as isWebGL2Deprecated,\n getParameters as getParametersDeprecated,\n setParameters as setParametersDeprecated,\n withParameters as withParametersDeprecated,\n resetParameters as resetParametersDeprecated,\n cssToDeviceRatio as cssToDeviceRatioDeprecated,\n cssToDevicePixels as cssToDevicePixelsDeprecated,\n lumaStats as lumaStatsDeprecated,\n Buffer as BufferDeprecated,\n Program as ProgramDeprecated,\n Framebuffer as FramebufferDeprecated,\n Renderbuffer as RenderbufferDeprecated,\n Texture2D as Texture2DDeprecated,\n TextureCube as TextureCubeDeprecated,\n clear as clearDeprecated,\n readPixelsToArray as readPixelsToArrayDeprecated,\n readPixelsToBuffer as readPixelsToBufferDeprecated,\n cloneTextureFrom as cloneTextureFromDeprecated,\n copyToTexture as copyToTextureDeprecated,\n Texture3D as Texture3DDeprecated,\n TransformFeedback as TransformFeedbackDeprecated\n} from '@luma.gl/webgl';\n\n/** @deprecated Import directly from `@luma.gl/webgl` */\nexport const isWebGL = isWebGLDeprecated;\n/** @deprecated Import directly from `@luma.gl/webgl` */\nexport const isWebGL2 = isWebGL2Deprecated;\n/** @deprecated Import directly from `@luma.gl/webgl` */\nexport const getParameters = getParametersDeprecated;\n/** @deprecated Import directly from `@luma.gl/webgl` */\nexport const setParameters = setParametersDeprecated;\n/** @deprecated Import directly from `@luma.gl/webgl` */\nexport const withParameters = withParametersDeprecated;\n/** @deprecated Import directly from `@luma.gl/webgl` */\nexport const resetParameters = resetParametersDeprecated;\n/** @deprecated Import directly from `@luma.gl/webgl` */\nexport const cssToDeviceRatio = cssToDeviceRatioDeprecated;\n/** @deprecated Import directly from `@luma.gl/webgl` */\nexport const cssToDevicePixels = cssToDevicePixelsDeprecated;\n/** @deprecated Import directly from `@luma.gl/webgl` */\nexport const lumaStats = lumaStatsDeprecated;\n/** @deprecated Import directly from `@luma.gl/webgl` */\nexport const Buffer = BufferDeprecated;\n/** @deprecated Import directly from `@luma.gl/webgl` */\nexport const Program = ProgramDeprecated;\n/** @deprecated Import directly from `@luma.gl/webgl` */\nexport const Framebuffer = FramebufferDeprecated;\n/** @deprecated Import directly from `@luma.gl/webgl` */\nexport const Renderbuffer = RenderbufferDeprecated;\n/** @deprecated Import directly from `@luma.gl/webgl` */\nexport const Texture2D = Texture2DDeprecated;\n/** @deprecated Import directly from `@luma.gl/webgl` */\nexport const TextureCube = TextureCubeDeprecated;\n/** @deprecated Import directly from `@luma.gl/webgl` */\nexport const clear = clearDeprecated;\n/** @deprecated Import directly from `@luma.gl/webgl` */\nexport const readPixelsToArray = readPixelsToArrayDeprecated;\n/** @deprecated Import directly from `@luma.gl/webgl` */\nexport const readPixelsToBuffer = readPixelsToBufferDeprecated;\n/** @deprecated Import directly from `@luma.gl/webgl` */\nexport const cloneTextureFrom = cloneTextureFromDeprecated;\n/** @deprecated Import directly from `@luma.gl/webgl` */\nexport const copyToTexture = copyToTextureDeprecated;\n/** @deprecated Import directly from `@luma.gl/webgl` */\nexport const Texture3D = Texture3DDeprecated;\n/** @deprecated Import directly from `@luma.gl/webgl` */\nexport const TransformFeedback = TransformFeedbackDeprecated;\n\n// SHADERTOOLS - importing from `@luma.gl/core` is deprecated\n\nimport {\n // HELPERS\n normalizeShaderModule as normalizeShaderModuleDeprecated,\n // SHADER MODULES\n fp32 as fp32Deprecated,\n fp64 as fp64Deprecated,\n project as projectDeprecated,\n dirlight as dirlightDeprecated,\n picking as pickingDeprecated,\n gouraudLighting as gouraudLightingDeprecated,\n phongLighting as phongLightingDeprecated,\n pbr as pbrDeprecated\n} from '@luma.gl/shadertools';\n\n/** @deprecated Import directly from `@luma.gl/shadertools` */\nexport const normalizeShaderModule = normalizeShaderModuleDeprecated;\n/** @deprecated Import directly from `@luma.gl/shadertools` */\nexport const fp32 = fp32Deprecated;\n/** @deprecated Import directly from `@luma.gl/shadertools` */\nexport const fp64 = fp64Deprecated;\n/** @deprecated Import directly from `@luma.gl/shadertools` */\nexport const project = projectDeprecated;\n/** @deprecated Import directly from `@luma.gl/shadertools` */\nexport const dirlight = dirlightDeprecated;\n/** @deprecated Import directly from `@luma.gl/shadertools` */\nexport const picking = pickingDeprecated;\n/** @deprecated Import directly from `@luma.gl/shadertools` */\nexport const gouraudLighting = gouraudLightingDeprecated;\n/** @deprecated Import directly from `@luma.gl/shadertools` */\nexport const phongLighting = phongLightingDeprecated;\n/** @deprecated Import directly from `@luma.gl/shadertools` */\nexport const pbr = pbrDeprecated;\n\n// GLTOOLS - Already marked as deprecated at source\nexport {\n createGLContext,\n instrumentGLContext,\n FEATURES,\n hasFeature,\n hasFeatures\n} from '@luma.gl/gltools';\n"],"file":"index.js"}
1
+ {"version":3,"sources":["../src/index.ts"],"names":["log","assert","uid","AnimationLoop","Model","Transform","ProgramManager","Timeline","Geometry","ClipSpace","ConeGeometry","CubeGeometry","CylinderGeometry","IcoSphereGeometry","PlaneGeometry","SphereGeometry","TruncatedConeGeometry","isWebGL","isWebGLDeprecated","isWebGL2","isWebGL2Deprecated","getParameters","getParametersDeprecated","setParameters","setParametersDeprecated","withParameters","withParametersDeprecated","resetParameters","resetParametersDeprecated","cssToDeviceRatio","cssToDeviceRatioDeprecated","cssToDevicePixels","cssToDevicePixelsDeprecated","lumaStats","lumaStatsDeprecated","Buffer","BufferDeprecated","Program","ProgramDeprecated","Framebuffer","FramebufferDeprecated","Renderbuffer","RenderbufferDeprecated","Texture2D","Texture2DDeprecated","TextureCube","TextureCubeDeprecated","clear","clearDeprecated","readPixelsToArray","readPixelsToArrayDeprecated","readPixelsToBuffer","readPixelsToBufferDeprecated","cloneTextureFrom","cloneTextureFromDeprecated","copyToTexture","copyToTextureDeprecated","Texture3D","Texture3DDeprecated","TransformFeedback","TransformFeedbackDeprecated","normalizeShaderModule","normalizeShaderModuleDeprecated","fp32","fp32Deprecated","fp64","fp64Deprecated","project","projectDeprecated","dirlight","dirlightDeprecated","picking","pickingDeprecated","gouraudLighting","gouraudLightingDeprecated","phongLighting","phongLightingDeprecated","pbr","pbrDeprecated","createGLContext","instrumentGLContext","FEATURES","hasFeature","hasFeatures"],"mappings":"AAIA,SAAQA,GAAR,EAAaC,MAAb,EAAqBC,GAArB,QAA+B,cAA/B;AAKA,SACEC,aADF,EAEEC,KAFF,EAGEC,SAHF,EAIEC,cAJF,EAKEC,QALF,QAMO,iBANP;AAQA,SACEC,QADF,EAEEC,SAFF,EAGEC,YAHF,EAIEC,YAJF,EAKEC,gBALF,EAMEC,iBANF,EAOEC,aAPF,EAQEC,cARF,EASEC,qBATF,QAUO,iBAVP;AAgBA,SACEC,OAAO,IAAIC,iBADb,EAEEC,QAAQ,IAAIC,kBAFd,EAGEC,aAAa,IAAIC,uBAHnB,EAIEC,aAAa,IAAIC,uBAJnB,EAKEC,cAAc,IAAIC,wBALpB,EAMEC,eAAe,IAAIC,yBANrB,EAOEC,gBAAgB,IAAIC,0BA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AAgB,GAAGC,0BAAzB;AAEP,OAAO,MAAMC,aAAa,GAAGC,uBAAtB;AAEP,OAAO,MAAMC,SAAS,GAAGC,mBAAlB;AAEP,OAAO,MAAMC,iBAAiB,GAAGC,2BAA1B;AAIP,SAEEC,qBAAqB,IAAIC,+BAF3B,EAIEC,IAAI,IAAIC,cAJV,EAKEC,IAAI,IAAIC,cALV,EAMEC,OAAO,IAAIC,iBANb,EAOEC,QAAQ,IAAIC,kBAPd,EAQEC,OAAO,IAAIC,iBARb,EASEC,eAAe,IAAIC,yBATrB,EAUEC,aAAa,IAAIC,uBAVnB,EAWEC,GAAG,IAAIC,aAXT,QAYO,sBAZP;AAeA,OAAO,MAAMjB,qBAAqB,GAAGC,+BAA9B;AAEP,OAAO,MAAMC,IAAI,GAAGC,cAAb;AAEP,OAAO,MAAMC,IAAI,GAAGC,cAAb;AAEP,OAAO,MAAMC,OAAO,GAAGC,iBAAhB;AAEP,OAAO,MAAMC,QAAQ,GAAGC,kBAAjB;AAEP,OAAO,MAAMC,OAAO,GAAGC,iBAAhB;AAEP,OAAO,MAAMC,eAAe,GAAGC,yBAAxB;AAEP,OAAO,MAAMC,aAAa,GAAGC,uBAAtB;AAEP,OAAO,MAAMC,GAAG,GAAGC,aAAZ;AAGP,SACEC,eADF,EAEEC,mBAFF,EAGEC,QAHF,EAIEC,UAJF,EAKEC,WALF,QAMO,gBANP","sourcesContent":["// luma.gl, MIT license\n// core module exports\n\n// UTILS: undocumented API for other luma.gl modules\nexport {log, assert, uid} from '@luma.gl/api';\n\n// CORE MODULE EXPORTS FOR LUMA.GL\n\n// ENGINE\nexport {\n AnimationLoop,\n Model,\n Transform,\n ProgramManager,\n Timeline\n} from '@luma.gl/engine';\n\nexport {\n Geometry,\n ClipSpace,\n ConeGeometry,\n CubeGeometry,\n CylinderGeometry,\n IcoSphereGeometry,\n PlaneGeometry,\n SphereGeometry,\n TruncatedConeGeometry\n} from '@luma.gl/engine';\n\n// TODO - the following exports will be removed in v9\n\n// WEBGL - importing from `@luma.gl/core` is deprecated\n\nimport {\n isWebGL as isWebGLDeprecated,\n isWebGL2 as isWebGL2Deprecated,\n getParameters as getParametersDeprecated,\n setParameters as setParametersDeprecated,\n withParameters as withParametersDeprecated,\n resetParameters as resetParametersDeprecated,\n cssToDeviceRatio as cssToDeviceRatioDeprecated,\n cssToDevicePixels as cssToDevicePixelsDeprecated,\n lumaStats as lumaStatsDeprecated,\n Buffer as BufferDeprecated,\n Program as ProgramDeprecated,\n Framebuffer as FramebufferDeprecated,\n Renderbuffer as RenderbufferDeprecated,\n Texture2D as Texture2DDeprecated,\n TextureCube as TextureCubeDeprecated,\n clear as clearDeprecated,\n readPixelsToArray as readPixelsToArrayDeprecated,\n readPixelsToBuffer as readPixelsToBufferDeprecated,\n cloneTextureFrom as cloneTextureFromDeprecated,\n copyToTexture as copyToTextureDeprecated,\n Texture3D as Texture3DDeprecated,\n TransformFeedback as TransformFeedbackDeprecated\n} from '@luma.gl/webgl';\n\n/** @deprecated Import directly from `@luma.gl/webgl` */\nexport const isWebGL = isWebGLDeprecated;\n/** @deprecated Import directly from `@luma.gl/webgl` */\nexport const isWebGL2 = isWebGL2Deprecated;\n/** @deprecated Import directly from `@luma.gl/webgl` */\nexport const getParameters = getParametersDeprecated;\n/** @deprecated Import directly from `@luma.gl/webgl` */\nexport const setParameters = setParametersDeprecated;\n/** @deprecated Import directly from `@luma.gl/webgl` */\nexport const withParameters = withParametersDeprecated;\n/** @deprecated Import directly from `@luma.gl/webgl` */\nexport const resetParameters = resetParametersDeprecated;\n/** @deprecated Import directly from `@luma.gl/webgl` */\nexport const cssToDeviceRatio = cssToDeviceRatioDeprecated;\n/** @deprecated Import directly from `@luma.gl/webgl` */\nexport const cssToDevicePixels = cssToDevicePixelsDeprecated;\n/** @deprecated Import directly from `@luma.gl/webgl` */\nexport const lumaStats = lumaStatsDeprecated;\n/** @deprecated Import directly from `@luma.gl/webgl` */\nexport const Buffer = BufferDeprecated;\n/** @deprecated Import directly from `@luma.gl/webgl` */\nexport const Program = ProgramDeprecated;\n/** @deprecated Import directly from `@luma.gl/webgl` */\nexport const Framebuffer = FramebufferDeprecated;\n/** @deprecated Import directly from `@luma.gl/webgl` */\nexport const Renderbuffer = RenderbufferDeprecated;\n/** @deprecated Import directly from `@luma.gl/webgl` */\nexport const Texture2D = Texture2DDeprecated;\n/** @deprecated Import directly from `@luma.gl/webgl` */\nexport const TextureCube = TextureCubeDeprecated;\n/** @deprecated Import directly from `@luma.gl/webgl` */\nexport const clear = clearDeprecated;\n/** @deprecated Import directly from `@luma.gl/webgl` */\nexport const readPixelsToArray = readPixelsToArrayDeprecated;\n/** @deprecated Import directly from `@luma.gl/webgl` */\nexport const readPixelsToBuffer = readPixelsToBufferDeprecated;\n/** @deprecated Import directly from `@luma.gl/webgl` */\nexport const cloneTextureFrom = cloneTextureFromDeprecated;\n/** @deprecated Import directly from `@luma.gl/webgl` */\nexport const copyToTexture = copyToTextureDeprecated;\n/** @deprecated Import directly from `@luma.gl/webgl` */\nexport const Texture3D = Texture3DDeprecated;\n/** @deprecated Import directly from `@luma.gl/webgl` */\nexport const TransformFeedback = TransformFeedbackDeprecated;\n\n// SHADERTOOLS - importing from `@luma.gl/core` is deprecated\n\nimport {\n // HELPERS\n normalizeShaderModule as normalizeShaderModuleDeprecated,\n // SHADER MODULES\n fp32 as fp32Deprecated,\n fp64 as fp64Deprecated,\n project as projectDeprecated,\n dirlight as dirlightDeprecated,\n picking as pickingDeprecated,\n gouraudLighting as gouraudLightingDeprecated,\n phongLighting as phongLightingDeprecated,\n pbr as pbrDeprecated\n} from '@luma.gl/shadertools';\n\n/** @deprecated Import directly from `@luma.gl/shadertools` */\nexport const normalizeShaderModule = normalizeShaderModuleDeprecated;\n/** @deprecated Import directly from `@luma.gl/shadertools` */\nexport const fp32 = fp32Deprecated;\n/** @deprecated Import directly from `@luma.gl/shadertools` */\nexport const fp64 = fp64Deprecated;\n/** @deprecated Import directly from `@luma.gl/shadertools` */\nexport const project = projectDeprecated;\n/** @deprecated Import directly from `@luma.gl/shadertools` */\nexport const dirlight = dirlightDeprecated;\n/** @deprecated Import directly from `@luma.gl/shadertools` */\nexport const picking = pickingDeprecated;\n/** @deprecated Import directly from `@luma.gl/shadertools` */\nexport const gouraudLighting = gouraudLightingDeprecated;\n/** @deprecated Import directly from `@luma.gl/shadertools` */\nexport const phongLighting = phongLightingDeprecated;\n/** @deprecated Import directly from `@luma.gl/shadertools` */\nexport const pbr = pbrDeprecated;\n\n// GLTOOLS - Already marked as deprecated at source\nexport {\n createGLContext,\n instrumentGLContext,\n FEATURES,\n hasFeature,\n hasFeatures\n} from '@luma.gl/webgl';\n"],"file":"index.js"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@luma.gl/core",
3
- "version": "8.6.0-alpha.3",
3
+ "version": "8.6.0-alpha.4",
4
4
  "description": "WebGL2 Components for High Performance Rendering and Computation",
5
5
  "license": "MIT",
6
6
  "publishConfig": {
@@ -31,10 +31,11 @@
31
31
  },
32
32
  "dependencies": {
33
33
  "@babel/runtime": "^7.0.0",
34
- "@luma.gl/constants": "8.6.0-alpha.3",
35
- "@luma.gl/engine": "8.6.0-alpha.3",
36
- "@luma.gl/shadertools": "8.6.0-alpha.3",
37
- "@luma.gl/webgl": "8.6.0-alpha.3"
34
+ "@luma.gl/constants": "8.6.0-alpha.4",
35
+ "@luma.gl/engine": "8.6.0-alpha.4",
36
+ "@luma.gl/gltools": "8.6.0-alpha.4",
37
+ "@luma.gl/shadertools": "8.6.0-alpha.4",
38
+ "@luma.gl/webgl": "8.6.0-alpha.4"
38
39
  },
39
- "gitHead": "a808a90fb8d59b682f5b647b8caa819f26827512"
40
+ "gitHead": "c1c84f1bcaa6e6ff4f1e96f5d294baf8ce39846c"
40
41
  }
package/src/index.ts CHANGED
@@ -143,4 +143,4 @@ export {
143
143
  FEATURES,
144
144
  hasFeature,
145
145
  hasFeatures
146
- } from '@luma.gl/gltools';
146
+ } from '@luma.gl/webgl';