We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7c4fd3f commit 7b438bfCopy full SHA for 7b438bf
1 file changed
src/gameobjects/shape/triangle/Triangle.js
@@ -112,18 +112,18 @@ var Triangle = new Class({
112
updateData: function ()
113
{
114
var path = [];
115
- var rect = this.geom;
+ var tri = this.geom;
116
var line = this._tempLine;
117
118
- rect.getLineA(line);
+ tri.getLineA(line);
119
120
path.push(line.x1, line.y1, line.x2, line.y2);
121
122
- rect.getLineB(line);
+ tri.getLineB(line);
123
124
path.push(line.x2, line.y2);
125
126
- rect.getLineC(line);
+ tri.getLineC(line);
127
128
129
0 commit comments