@antv/g-plugin-3d
Advanced tools
Comparing version 1.0.0-alpha.1 to 1.0.0-alpha.2
{ | ||
"name": "@antv/g-plugin-3d", | ||
"version": "1.0.0-alpha.1", | ||
"version": "1.0.0-alpha.2", | ||
"description": "Provide 3D extension for G", | ||
@@ -43,8 +43,8 @@ "main": "dist/index.js", | ||
"dependencies": { | ||
"@antv/g": "^1.0.0-alpha.1", | ||
"@antv/g-plugin-dom-interaction": "^1.0.0-alpha.1", | ||
"@antv/g-plugin-webgl-renderer": "^1.0.0-alpha.1", | ||
"@antv/g": "^1.0.0-alpha.2", | ||
"@antv/g-plugin-dom-interaction": "^1.0.0-alpha.2", | ||
"@antv/g-plugin-webgl-renderer": "^1.0.0-alpha.2", | ||
"@antv/util": "^2.0.13" | ||
}, | ||
"gitHead": "84ec7a493b5161bf00356bb887d13a35fd2f0899" | ||
"gitHead": "2fe2253d4f856f456d8a4e4929b1dba6fd42de8a" | ||
} |
# 3D extension for G | ||
Provide some 3D shapes such as Cube, Sphere. | ||
Provide some 3D shapes such as Cube, Sphere, support `g-webgl` only. | ||
@@ -18,6 +18,6 @@ ## Cube | ||
const canvas = new Canvas({ | ||
container: 'container', | ||
width: 600, | ||
height: 500, | ||
renderer: webglRenderer, | ||
container: 'container', | ||
width: 600, | ||
height: 500, | ||
renderer: webglRenderer, | ||
}); | ||
@@ -27,9 +27,9 @@ | ||
const cube = new Cube({ | ||
attrs: { | ||
width: 200, | ||
height: 200, | ||
depth: 200, | ||
fill: '#1890FF', | ||
}, | ||
attrs: { | ||
width: 200, | ||
height: 200, | ||
depth: 200, | ||
fill: '#1890FF', | ||
}, | ||
}); | ||
``` |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
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
1666338
34187