@antv/g-plugin-3d
Advanced tools
Comparing version 1.0.0-alpha.5 to 1.0.0-alpha.6
@@ -1,2 +0,2 @@ | ||
import { Renderable, DisplayObject, container, GeometryAABBUpdater } from '@antv/g'; | ||
import { RenderingService, Renderable, DisplayObject, container, GeometryAABBUpdater } from '@antv/g'; | ||
import { TexturePool, ShaderModuleService, Material3D, Geometry3D, Renderable3D, gl, rgb2arr, registerModelBuilder } from '@antv/g-plugin-webgl-renderer'; | ||
@@ -92,12 +92,16 @@ | ||
var __spreadArray = (undefined && undefined.__spreadArray) || function (to, from) { | ||
for (var i = 0, il = from.length, j = to.length; i < il; i++, j++) | ||
to[j] = from[i]; | ||
return to; | ||
var __spreadArrays = (undefined && undefined.__spreadArrays) || function () { | ||
for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length; | ||
for (var r = Array(s), k = 0, i = 0; i < il; i++) | ||
for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++) | ||
r[k] = a[j]; | ||
return r; | ||
}; | ||
var __spreadArray$1 = (undefined && undefined.__spreadArray) || function (to, from) { | ||
for (var i = 0, il = from.length, j = to.length; i < il; i++, j++) | ||
to[j] = from[i]; | ||
return to; | ||
var __spreadArrays$1 = (undefined && undefined.__spreadArrays) || function () { | ||
for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length; | ||
for (var r = Array(s), k = 0, i = 0; i < il; i++) | ||
for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++) | ||
r[k] = a[j]; | ||
return r; | ||
}; | ||
@@ -141,7 +145,2 @@ | ||
}; | ||
var __spreadArray$2 = (undefined && undefined.__spreadArray) || function (to, from) { | ||
for (var i = 0, il = from.length, j = to.length; i < il; i++, j++) | ||
to[j] = from[i]; | ||
return to; | ||
}; | ||
@@ -717,2 +716,3 @@ var ContainerModule = (function () { | ||
this.texturePool = void 0; | ||
this.renderingService = void 0; | ||
} | ||
@@ -836,4 +836,5 @@ | ||
renderable.dirty = true; | ||
this.renderingService.dirtify(); | ||
case 28: | ||
case 29: | ||
case "end": | ||
@@ -996,2 +997,4 @@ return _context2.stop(); | ||
__decorate([inject(RenderingService), __metadata("design:type", RenderingService)], CubeModelBuilder.prototype, "renderingService", void 0); | ||
CubeModelBuilder = __decorate([injectable()], CubeModelBuilder); | ||
@@ -998,0 +1001,0 @@ |
@@ -96,12 +96,16 @@ 'use strict'; | ||
var __spreadArray = (undefined && undefined.__spreadArray) || function (to, from) { | ||
for (var i = 0, il = from.length, j = to.length; i < il; i++, j++) | ||
to[j] = from[i]; | ||
return to; | ||
var __spreadArrays = (undefined && undefined.__spreadArrays) || function () { | ||
for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length; | ||
for (var r = Array(s), k = 0, i = 0; i < il; i++) | ||
for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++) | ||
r[k] = a[j]; | ||
return r; | ||
}; | ||
var __spreadArray$1 = (undefined && undefined.__spreadArray) || function (to, from) { | ||
for (var i = 0, il = from.length, j = to.length; i < il; i++, j++) | ||
to[j] = from[i]; | ||
return to; | ||
var __spreadArrays$1 = (undefined && undefined.__spreadArrays) || function () { | ||
for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length; | ||
for (var r = Array(s), k = 0, i = 0; i < il; i++) | ||
for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++) | ||
r[k] = a[j]; | ||
return r; | ||
}; | ||
@@ -145,7 +149,2 @@ | ||
}; | ||
var __spreadArray$2 = (undefined && undefined.__spreadArray) || function (to, from) { | ||
for (var i = 0, il = from.length, j = to.length; i < il; i++, j++) | ||
to[j] = from[i]; | ||
return to; | ||
}; | ||
@@ -721,2 +720,3 @@ var ContainerModule = (function () { | ||
this.texturePool = void 0; | ||
this.renderingService = void 0; | ||
} | ||
@@ -840,4 +840,5 @@ | ||
renderable.dirty = true; | ||
this.renderingService.dirtify(); | ||
case 28: | ||
case 29: | ||
case "end": | ||
@@ -1000,2 +1001,4 @@ return _context2.stop(); | ||
__decorate([inject(g.RenderingService), __metadata("design:type", g.RenderingService)], CubeModelBuilder.prototype, "renderingService", void 0); | ||
CubeModelBuilder = __decorate([injectable()], CubeModelBuilder); | ||
@@ -1002,0 +1005,0 @@ |
@@ -7,2 +7,3 @@ import { DisplayObject } from '@antv/g'; | ||
private texturePool; | ||
private renderingService; | ||
onAttributeChanged(object: DisplayObject<CubeStyleProps>, name: string, value: any): Promise<void>; | ||
@@ -9,0 +10,0 @@ prepareModel(object: DisplayObject<CubeStyleProps>): Promise<void>; |
{ | ||
"name": "@antv/g-plugin-3d", | ||
"version": "1.0.0-alpha.5", | ||
"version": "1.0.0-alpha.6", | ||
"description": "Provide 3D extension for G", | ||
@@ -43,8 +43,8 @@ "main": "dist/index.js", | ||
"dependencies": { | ||
"@antv/g": "^1.0.0-alpha.4", | ||
"@antv/g-plugin-dom-interaction": "^1.0.0-alpha.5", | ||
"@antv/g-plugin-webgl-renderer": "^1.0.0-alpha.5", | ||
"@antv/g": "^1.0.0-alpha.5", | ||
"@antv/g-plugin-dom-interaction": "^1.0.0-alpha.6", | ||
"@antv/g-plugin-webgl-renderer": "^1.0.0-alpha.6", | ||
"@antv/util": "^2.0.13" | ||
}, | ||
"gitHead": "08ccbc9def3a4f70cf0b24f715bb444512c3f326" | ||
"gitHead": "c977f1c582f0f29d2eb20568a4cab8f795f8d283" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
115529
2736