@@ -7,6 +7,12 @@ THREE.Vector2 = function (x, y) {
this.x = x || 0;
this.y = y || 0;
+ this.set = function (x, y) {
+
+ this.x = x;
+ this.y = y;
+ }
this.copy = function (v) {
this.x = v.x;
@@ -9,6 +9,13 @@ THREE.Vector3 = function (x, y, z) {
this.z = z || 0;
+ this.set = function (x, y, z) {
+ this.z = z;
@@ -9,6 +9,14 @@ THREE.Vector4 = function (x, y, z, w) {
this.w = w || 1;
+ this.set = function (x, y, z, w) {
+ this.w = w;