diff --git a/src/floorplanner/floorplanner.ts b/src/floorplanner/floorplanner.ts
index 98401ef..11be260 100644
--- a/src/floorplanner/floorplanner.ts
+++ b/src/floorplanner/floorplanner.ts
@@ -1,4 +1,4 @@
-///
+///
///
///
@@ -6,7 +6,7 @@ module BP3D.Floorplanner {
/** how much will we move a corner to make a wall axis aligned (cm) */
const snapTolerance = 25;
- /**
+ /**
* The Floorplanner implements an interactive tool for creation of floorplans.
*/
export class Floorplanner {
diff --git a/src/floorplanner/floorplanner_view.ts b/src/floorplanner/floorplanner_view.ts
index e660ba4..e7d7d85 100644
--- a/src/floorplanner/floorplanner_view.ts
+++ b/src/floorplanner/floorplanner_view.ts
@@ -1,4 +1,4 @@
-///
+///
///
///
///
diff --git a/src/model/corner.ts b/src/model/corner.ts
index 91f147d..c4b1bd4 100644
--- a/src/model/corner.ts
+++ b/src/model/corner.ts
@@ -1,4 +1,4 @@
-///
+///
///
///
///
@@ -27,7 +27,7 @@ module BP3D.Model {
/** Callbacks to be fired in case of action. */
private action_callbacks = $.Callbacks();
- /** Constructs a corner.
+ /** Constructs a corner.
* @param floorplan The associated floorplan.
* @param x X coordinate.
* @param y Y coordinate.
@@ -75,7 +75,7 @@ module BP3D.Model {
}
/**
- *
+ *
*/
public snapToAxis(tolerance: number): { x: boolean, y: boolean } {
// try to snap this corner to an axis
@@ -179,7 +179,7 @@ module BP3D.Model {
}
/**
- *
+ *
*/
public distanceFrom(x: number, y: number): number {
var distance = Core.Utils.distance(x, y, this.x, this.y);
@@ -263,7 +263,7 @@ module BP3D.Model {
}
/**
- *
+ *
*/
private combineWithCorner(corner: Corner) {
// update position to other corner's
@@ -319,7 +319,7 @@ module BP3D.Model {
var wallStartpoints = {};
for (var i = this.wallStarts.length - 1; i >= 0; i--) {
if (this.wallStarts[i].getEnd() === this) {
- // remove zero length wall
+ // remove zero length wall
this.wallStarts[i].remove();
} else if (this.wallStarts[i].getEnd().id in wallEndpoints) {
// remove duplicated wall
@@ -330,7 +330,7 @@ module BP3D.Model {
}
for (var i = this.wallEnds.length - 1; i >= 0; i--) {
if (this.wallEnds[i].getStart() === this) {
- // removed zero length wall
+ // removed zero length wall
this.wallEnds[i].remove();
} else if (this.wallEnds[i].getStart().id in wallStartpoints) {
// removed duplicated wall
diff --git a/src/model/floorplan.ts b/src/model/floorplan.ts
index 12304cb..55c5669 100644
--- a/src/model/floorplan.ts
+++ b/src/model/floorplan.ts
@@ -1,4 +1,4 @@
-///
+///
///
///
///
@@ -10,7 +10,7 @@ module BP3D.Model {
/** */
const defaultFloorPlanTolerance = 10.0;
- /**
+ /**
* A Floorplan represents a number of Walls, Corners and Rooms.
*/
export class Floorplan {
@@ -39,8 +39,8 @@ module BP3D.Model {
/** */
public roomLoadedCallbacks = $.Callbacks();
- /**
- * Floor textures are owned by the floorplan, because room objects are
+ /**
+ * Floor textures are owned by the floorplan, because room objects are
* destroyed and created each time we change the floorplan.
* floorTextures is a map of room UUIDs (string) to a object with
* url and scale attributes.
@@ -289,7 +289,7 @@ module BP3D.Model {
this.walls = [];
}
- /**
+ /**
* Update rooms
*/
public update() {
@@ -309,7 +309,7 @@ module BP3D.Model {
this.updated_rooms.fire();
}
- /**
+ /**
* Returns the center of the floorplan in the y plane
*/
public getCenter() {
@@ -444,7 +444,7 @@ module BP3D.Model {
continue;
}
- // nope, throw it on the queue
+ // nope, throw it on the queue
addToStack.push(nextCorner);
}
diff --git a/src/model/half_edge.ts b/src/model/half_edge.ts
index bb2ed19..f4486a6 100644
--- a/src/model/half_edge.ts
+++ b/src/model/half_edge.ts
@@ -1,13 +1,13 @@
///
-///
+///
///
module BP3D.Model {
/**
* Half Edges are created by Room.
- *
+ *
* Once rooms have been identified, Half Edges are created for each interior wall.
- *
+ *
* A wall can have two half edges if it is visible from both sides.
*/
export class HalfEdge {
@@ -62,7 +62,7 @@ module BP3D.Model {
}
/**
- *
+ *
*/
public getTexture() {
if (this.front) {
@@ -73,7 +73,7 @@ module BP3D.Model {
}
/**
- *
+ *
*/
public setTexture(textureUrl: string, textureStretch: boolean, textureScale: number) {
var texture = {
@@ -89,7 +89,7 @@ module BP3D.Model {
this.redrawCallbacks.fire();
}
- /**
+ /**
* this feels hacky, but need wall items
*/
public generatePlane = function () {
@@ -233,7 +233,7 @@ module BP3D.Model {
this.exteriorEnd(), this.exteriorStart()];
}
- /**
+ /**
* Gets CCW angle from v1 to v2
*/
private halfAngleVector(v1: HalfEdge, v2: HalfEdge): { x: number, y: number } {
diff --git a/src/model/model.ts b/src/model/model.ts
index dcddfe3..7e04d3c 100644
--- a/src/model/model.ts
+++ b/src/model/model.ts
@@ -1,11 +1,11 @@
///
-///
+///
///
///
module BP3D.Model {
- /**
- * A Model connects a Floorplan and a Scene.
+ /**
+ * A Model connects a Floorplan and a Scene.
*/
export class Model {
diff --git a/src/model/room.ts b/src/model/room.ts
index 5fccfae..6bb13cf 100644
--- a/src/model/room.ts
+++ b/src/model/room.ts
@@ -1,5 +1,5 @@
///
-///
+///
///
///
///
@@ -20,8 +20,8 @@ module BP3D.Model {
scale: 400
}
- /**
- * A Room is the combination of a Floorplan with a floor plane.
+ /**
+ * A Room is the combination of a Floorplan with a floor plane.
*/
export class Room {
@@ -67,7 +67,7 @@ module BP3D.Model {
return tex || defaultRoomTexture;
}
- /**
+ /**
* textureStretch always true, just an argument for consistency with walls
*/
private setTexture(textureUrl: string, textureStretch, textureScale: number) {
@@ -115,7 +115,7 @@ module BP3D.Model {
}
}
- /**
+ /**
* Populates each wall's half edge relating to this room
* this creates a fancy doubly connected edge list (DCEL)
*/
diff --git a/src/model/scene.ts b/src/model/scene.ts
index f58ddd5..a65e2dc 100644
--- a/src/model/scene.ts
+++ b/src/model/scene.ts
@@ -1,5 +1,5 @@
///
-///
+///
///
///
@@ -136,7 +136,7 @@ module BP3D.Model {
this.loader.load(
fileName,
loaderCallback,
- undefined // TODO_Ekki
+ undefined // TODO_Ekki
);
}
}
diff --git a/src/model/wall.ts b/src/model/wall.ts
index e3af69b..0978510 100644
--- a/src/model/wall.ts
+++ b/src/model/wall.ts
@@ -1,5 +1,5 @@
///
-///
+///
///
///
///
@@ -14,9 +14,9 @@ module BP3D.Model {
scale: 0
}
- /**
+ /**
* A Wall is the basic element to create Rooms.
- *
+ *
* Walls consists of two half edges.
*/
export class Wall {
@@ -60,7 +60,7 @@ module BP3D.Model {
/** Actions to be applied explicitly. */
private action_callbacks = $.Callbacks();
- /**
+ /**
* Constructs a new wall.
* @param start Start corner.
* @param end End corner.
diff --git a/src/three/controller.ts b/src/three/controller.ts
index cb381f4..a61b390 100644
--- a/src/three/controller.ts
+++ b/src/three/controller.ts
@@ -1,4 +1,4 @@
-///
+///
///
///
diff --git a/src/three/controls.ts b/src/three/controls.ts
index b193663..869165d 100644
--- a/src/three/controls.ts
+++ b/src/three/controls.ts
@@ -8,7 +8,7 @@ Contributors:
* @author erich666 / http://erichaines.com
*/
-///
+///
///
module BP3D.Three {
diff --git a/src/three/edge.ts b/src/three/edge.ts
index 81ac438..129644e 100644
--- a/src/three/edge.ts
+++ b/src/three/edge.ts
@@ -1,4 +1,4 @@
-///
+///
///
///
diff --git a/src/three/main.ts b/src/three/main.ts
index 441bfa4..472e612 100644
--- a/src/three/main.ts
+++ b/src/three/main.ts
@@ -1,7 +1,7 @@
-///
+///
///
///
-///
+///
///
///
///