We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9f2e15b commit 4504a4cCopy full SHA for 4504a4c
lib/glow/primitives.js
@@ -351,7 +351,7 @@
351
}
352
353
this.pos = origin.add(this.__pos.sub(origin).rotate({angle:angle, axis:rotaxis}))
354
- if (isarrow) this.axis_and_length = this.__axis_and_length.rotate({angle:angle, axis:rotaxis})
+ if (isarrow) this.__axis_and_length = this.__axis_and_length.rotate({angle:angle, axis:rotaxis})
355
else this.axis = this.__axis.rotate({angle:angle, axis:rotaxis})
356
this.up = Y.rotate({angle:angle, axis:rotaxis})
357
@@ -498,7 +498,7 @@
498
radius: {
499
get: function() { return this.__size.__y/2 },
500
set: function(value) {
501
- this.__size.__x = this.__size.__y = this.__size.__z = 2*value
+ this.size = vec(2*value,2*value,2*value)
502
this.__change()
503
504
0 commit comments