Comparing version 2.0.2 to 2.0.3
@@ -21,4 +21,5 @@ module.exports = { | ||
MatrixUtil: require('./src/util/matrix'), | ||
CommonUtil: require('./src/util/common'), | ||
DomUtil: require('./src/util/dom'), | ||
Event: require('./src/event') | ||
}; |
{ | ||
"name": "@antv/g", | ||
"version": "2.0.2", | ||
"version": "2.0.3", | ||
"description": "A canvas library which providing 2d draw for G2.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -176,3 +176,5 @@ const Util = require('../../util/index'); | ||
const inm = mat3.invert([], m); | ||
vec3.transformMat3(v, v, inm); | ||
if (inm) { | ||
vec3.transformMat3(v, v, inm); | ||
} | ||
} | ||
@@ -179,0 +181,0 @@ return this; |
@@ -1,18 +0,18 @@ | ||
const Shape = { | ||
Rect: require('./rect'), | ||
Circle: require('./circle'), | ||
Ellipse: require('./ellipse'), | ||
Path: require('./path'), | ||
Text: require('./text'), | ||
Line: require('./line'), | ||
Image: require('./image'), | ||
Polygon: require('./polygon'), | ||
Polyline: require('./polyline'), | ||
Arc: require('./arc'), | ||
Fan: require('./fan'), | ||
Cubic: require('./cubic'), | ||
Quadratic: require('./quadratic'), | ||
Marker: require('./marker') | ||
}; | ||
const Shape = require('../core/shape'); | ||
Shape.Rect = require('./rect'); | ||
Shape.Rect = require('./rect'); | ||
Shape.Circle = require('./circle'); | ||
Shape.Ellipse = require('./ellipse'); | ||
Shape.Path = require('./path'); | ||
Shape.Text = require('./text'); | ||
Shape.Line = require('./line'); | ||
Shape.Image = require('./image'); | ||
Shape.Polygon = require('./polygon'); | ||
Shape.Polyline = require('./polyline'); | ||
Shape.Arc = require('./arc'); | ||
Shape.Fan = require('./fan'); | ||
Shape.Cubic = require('./cubic'); | ||
Shape.Quadratic = require('./quadratic'); | ||
Shape.Marker = require('./marker'); | ||
module.exports = Shape; |
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
837014
68
21118