mirror of
https://github.com/wahyd4/three.js.git
synced 2026-08-21 19:05:57 +10:00
- Added TODO
- Minor tweaks
This commit is contained in:
+12
-2
@@ -9,7 +9,11 @@ THREE.Geometry = function () {
|
||||
this.faces = [];
|
||||
this.uvs = [];
|
||||
|
||||
this.computeNormals = function () {
|
||||
};
|
||||
|
||||
THREE.Geometry.prototype = {
|
||||
|
||||
computeNormals: function () {
|
||||
|
||||
var v, f, vA, vB, vC, cb, ab;
|
||||
|
||||
@@ -42,6 +46,12 @@ THREE.Geometry = function () {
|
||||
|
||||
}
|
||||
|
||||
};
|
||||
},
|
||||
|
||||
toString: function () {
|
||||
|
||||
return 'THREE.Geometry ( vertices: ' + this.vertices + ', faces: ' + this.faces + ' )';
|
||||
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user