Browse Source

Credit where credit is due.

Mr.doob 15 years ago
parent
commit
2a334e0862

+ 4 - 0
examples/geometry/primitives/Cube.js

@@ -1,3 +1,7 @@
+/**
+ * @author mr.doob / http://mrdoob.com/
+ */
+
 var Cube = function (width, height, depth) {
 var Cube = function (width, height, depth) {
 
 
 	THREE.Geometry.call(this);
 	THREE.Geometry.call(this);

+ 4 - 0
examples/geometry/primitives/Cylinder.js

@@ -1,3 +1,7 @@
+/**
+ * @author kile / http://kile.stravaganza.org/
+ */
+
 var Cylinder = function (numSegs, topRad, botRad, height, topOffset, botOffset) {
 var Cylinder = function (numSegs, topRad, botRad, height, topOffset, botOffset) {
 
 
 	THREE.Geometry.call(this);
 	THREE.Geometry.call(this);

+ 4 - 0
examples/geometry/primitives/Plane.js

@@ -1,3 +1,7 @@
+/**
+ * @author mr.doob / http://mrdoob.com/
+ */
+
 var Plane = function (width, height) {
 var Plane = function (width, height) {
 
 
 	THREE.Geometry.call(this);
 	THREE.Geometry.call(this);

+ 4 - 0
src/Three.js

@@ -1 +1,5 @@
+/**
+ * @author mr.doob / http://mrdoob.com/
+ */
+
 var THREE = THREE || {}
 var THREE = THREE || {}

+ 4 - 0
src/cameras/Camera.js

@@ -1,3 +1,7 @@
+/**
+ * @author mr.doob / http://mrdoob.com/
+ */
+
 THREE.Camera = function (x, y, z) {
 THREE.Camera = function (x, y, z) {
 
 
 	this.position = new THREE.Vector3(x, y, z);
 	this.position = new THREE.Vector3(x, y, z);

+ 4 - 0
src/core/Color.js

@@ -1,3 +1,7 @@
+/**
+ * @author mr.doob / http://mrdoob.com/
+ */
+
 THREE.Color = function (hex) {
 THREE.Color = function (hex) {
 
 
 	var _r, _g, _b, _a, _hex;
 	var _r, _g, _b, _a, _hex;

+ 4 - 0
src/core/Face3.js

@@ -1,3 +1,7 @@
+/**
+ * @author mr.doob / http://mrdoob.com/
+ */
+
 THREE.Face3 = function (a, b, c, uv, normal, color) {
 THREE.Face3 = function (a, b, c, uv, normal, color) {
 
 
 	this.a = a;
 	this.a = a;

+ 4 - 0
src/core/Face4.js

@@ -1,3 +1,7 @@
+/**
+ * @author mr.doob / http://mrdoob.com/
+ */
+
 THREE.Face4 = function (a, b, c, d, uv, normal, color) {
 THREE.Face4 = function (a, b, c, d, uv, normal, color) {
 
 
 	this.a = a;
 	this.a = a;

+ 4 - 0
src/core/Geometry.js

@@ -1,3 +1,7 @@
+/**
+ * @author mr.doob / http://mrdoob.com/
+ */
+
 THREE.Geometry = function () {
 THREE.Geometry = function () {
 
 
 	this.vertices = [];
 	this.vertices = [];

+ 5 - 0
src/core/Matrix3.js

@@ -1,3 +1,8 @@
+/**
+ * @author supereggbert / http://www.paulbrunt.co.uk/
+ * @author mr.doob / http://mrdoob.com/
+ */
+
 THREE.Matrix3 = function () {
 THREE.Matrix3 = function () {
 
 
 	this.n11 = 1; this.n12 = 0; this.n13 = 0;
 	this.n11 = 1; this.n12 = 0; this.n13 = 0;

+ 5 - 0
src/core/Matrix4.js

@@ -1,3 +1,8 @@
+/**
+ * @author supereggbert / http://www.paulbrunt.co.uk/
+ * @author mr.doob / http://mrdoob.com/
+ */
+
 THREE.Matrix4 = function () {
 THREE.Matrix4 = function () {
 
 
 	var x, y, z;
 	var x, y, z;

+ 4 - 0
src/core/Vector2.js

@@ -1,3 +1,7 @@
+/**
+ * @author mr.doob / http://mrdoob.com/
+ */
+
 THREE.Vector2 = function (x, y) {
 THREE.Vector2 = function (x, y) {
 	
 	
 	this.x = x || 0;
 	this.x = x || 0;

+ 4 - 0
src/core/Vector3.js

@@ -1,3 +1,7 @@
+/**
+ * @author mr.doob / http://mrdoob.com/
+ */
+
 THREE.Vector3 = function (x, y, z) {
 THREE.Vector3 = function (x, y, z) {
 
 
 	this.x = x || 0;
 	this.x = x || 0;

+ 4 - 0
src/core/Vector4.js

@@ -1,3 +1,7 @@
+/**
+ * @author supereggbert / http://www.paulbrunt.co.uk/
+ */
+
 THREE.Vector4 = function (x, y, z, w) {
 THREE.Vector4 = function (x, y, z, w) {
 
 
 	this.x = x || 0;
 	this.x = x || 0;

+ 4 - 0
src/core/Vertex.js

@@ -1,3 +1,7 @@
+/**
+ * @author mr.doob / http://mrdoob.com/
+ */
+
 THREE.Vertex = function (position, normal) {
 THREE.Vertex = function (position, normal) {
 
 
 	this.position = position || new THREE.Vector3();
 	this.position = position || new THREE.Vector3();

+ 4 - 0
src/materials/ColorFillMaterial.js

@@ -1,3 +1,7 @@
+/**
+ * @author mr.doob / http://mrdoob.com/
+ */
+
 THREE.ColorFillMaterial = function (hex, opacity) {
 THREE.ColorFillMaterial = function (hex, opacity) {
 
 
 	this.color = new THREE.Color( (opacity ? (opacity * 0xff) << 24 : 0xff000000) | hex );
 	this.color = new THREE.Color( (opacity ? (opacity * 0xff) << 24 : 0xff000000) | hex );

+ 4 - 0
src/materials/ColorStrokeMaterial.js

@@ -1,3 +1,7 @@
+/**
+ * @author mr.doob / http://mrdoob.com/
+ */
+
 THREE.ColorStrokeMaterial = function (hex, opacity, lineWidth) {
 THREE.ColorStrokeMaterial = function (hex, opacity, lineWidth) {
 
 
 	this.lineWidth = lineWidth || 1;
 	this.lineWidth = lineWidth || 1;

+ 4 - 0
src/materials/FaceColorFillMaterial.js

@@ -1,3 +1,7 @@
+/**
+ * @author mr.doob / http://mrdoob.com/
+ */
+
 THREE.FaceColorFillMaterial = function () {
 THREE.FaceColorFillMaterial = function () {
 
 
 	this.toString = function () {
 	this.toString = function () {

+ 4 - 0
src/materials/FaceColorStrokeMaterial.js

@@ -1,3 +1,7 @@
+/**
+ * @author mr.doob / http://mrdoob.com/
+ */
+
 THREE.FaceColorStrokeMaterial = function (lineWidth) {
 THREE.FaceColorStrokeMaterial = function (lineWidth) {
 
 
 	this.lineWidth = lineWidth || 1;
 	this.lineWidth = lineWidth || 1;

+ 4 - 0
src/objects/Line.js

@@ -1,3 +1,7 @@
+/**
+ * @author mr.doob / http://mrdoob.com/
+ */
+
 THREE.Line = function (geometry, material) {
 THREE.Line = function (geometry, material) {
 
 
 	THREE.Object3D.call(this, material);
 	THREE.Object3D.call(this, material);

+ 4 - 0
src/objects/Mesh.js

@@ -1,3 +1,7 @@
+/**
+ * @author mr.doob / http://mrdoob.com/
+ */
+
 THREE.Mesh = function (geometry, material) {
 THREE.Mesh = function (geometry, material) {
 
 
 	THREE.Object3D.call(this, material);
 	THREE.Object3D.call(this, material);

+ 4 - 0
src/objects/Object3D.js

@@ -1,3 +1,7 @@
+/**
+ * @author mr.doob / http://mrdoob.com/
+ */
+
 THREE.Object3D = function (material) {
 THREE.Object3D = function (material) {
 
 
 	this.position = new THREE.Vector3(0, 0, 0);
 	this.position = new THREE.Vector3(0, 0, 0);

+ 4 - 0
src/objects/Particle.js

@@ -1,3 +1,7 @@
+/**
+ * @author mr.doob / http://mrdoob.com/
+ */
+
 THREE.Particle = function (material) {
 THREE.Particle = function (material) {
 
 
 	THREE.Object3D.call(this, material);
 	THREE.Object3D.call(this, material);

+ 4 - 0
src/renderers/CanvasRenderer.js

@@ -1,3 +1,7 @@
+/**
+ * @author mr.doob / http://mrdoob.com/
+ */
+
 THREE.CanvasRenderer = function () {
 THREE.CanvasRenderer = function () {
 
 
 	THREE.Renderer.call(this);
 	THREE.Renderer.call(this);

+ 4 - 0
src/renderers/GLRenderer.js

@@ -1,3 +1,7 @@
+/**
+ * @author supereggbert / http://www.paulbrunt.co.uk/
+ */
+
 /* TODO: Refactoring */
 /* TODO: Refactoring */
 
 
 var GLRenderer = Renderer.extend
 var GLRenderer = Renderer.extend

+ 4 - 0
src/renderers/Renderer.js

@@ -1,3 +1,7 @@
+/**
+ * @author mr.doob / http://mrdoob.com/
+ */
+
 THREE.Renderer = function() {
 THREE.Renderer = function() {
 
 
 	var face3Pool = [],
 	var face3Pool = [],

+ 4 - 0
src/renderers/SVGRenderer.js

@@ -1,3 +1,7 @@
+/**
+ * @author mr.doob / http://mrdoob.com/
+ */
+
 THREE.SVGRenderer = function () {
 THREE.SVGRenderer = function () {
 
 
 	THREE.Renderer.call(this);
 	THREE.Renderer.call(this);

+ 4 - 0
src/renderers/renderables/RenderableFace3.js

@@ -1,3 +1,7 @@
+/**
+ * @author mr.doob / http://mrdoob.com/
+ */
+
 THREE.RenderableFace3 = function () {
 THREE.RenderableFace3 = function () {
 
 
 	this.v1 = new THREE.Vector2();
 	this.v1 = new THREE.Vector2();

+ 4 - 0
src/renderers/renderables/RenderableFace4.js

@@ -1,3 +1,7 @@
+/**
+ * @author mr.doob / http://mrdoob.com/
+ */
+
 THREE.RenderableFace4 = function () {
 THREE.RenderableFace4 = function () {
 
 
 	this.v1 = new THREE.Vector2();
 	this.v1 = new THREE.Vector2();

+ 4 - 0
src/renderers/renderables/RenderableParticle.js

@@ -1,3 +1,7 @@
+/**
+ * @author mr.doob / http://mrdoob.com/
+ */
+
 THREE.RenderableParticle = function () {
 THREE.RenderableParticle = function () {
 
 
 	this.x;
 	this.x;

+ 4 - 0
src/scenes/Scene.js

@@ -1,3 +1,7 @@
+/**
+ * @author mr.doob / http://mrdoob.com/
+ */
+
 THREE.Scene = function () {
 THREE.Scene = function () {
 
 
 	this.objects = [];
 	this.objects = [];