|
From: <ma...@us...> - 2011-12-18 14:19:27
|
Revision: 589
http://openautomation.svn.sourceforge.net/openautomation/?rev=589&view=rev
Author: mayerch
Date: 2011-12-18 14:19:21 +0000 (Sun, 18 Dec 2011)
Log Message:
-----------
Make it work again (although the hole fix isn't correct at the moment and things look worse...).
Also some initial commets to make YUI Doc work.
NOTE: YUI Doc has to be a newer version than the published release as that has a problem with UTF-8 chars...
Modified Paths:
--------------
JSFloorPlan/trunk/src/jsfloorplan.js
JSFloorPlan/trunk/src/jsfloorplan_example_helper.js
Modified: JSFloorPlan/trunk/src/jsfloorplan.js
===================================================================
--- JSFloorPlan/trunk/src/jsfloorplan.js 2011-12-18 13:27:38 UTC (rev 588)
+++ JSFloorPlan/trunk/src/jsfloorplan.js 2011-12-18 14:19:21 UTC (rev 589)
@@ -20,6 +20,7 @@
* Free Software Foundation, Inc., *
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
* *
+ * @module JSFloorPlan3D *
***************************************************************************/
// setup script here:
@@ -365,7 +366,6 @@
var sId, eId;
for( var v = 0; v < Tvertices.length; v++ )
{
- /* prepare for later...
// project s1, e1 and s2, e2 onto line sm->em
var lSquaredInv = 1.0 / ((em.x-sm.x)*(em.x-sm.x) + (em.y-sm.y)*(em.y-sm.y));
var s1f = 1-((s1.x-sm.x)*(em.x-sm.x) + (s1.y-sm.y)*(em.y-sm.y))*lSquaredInv;
@@ -380,8 +380,7 @@
var x2 = s2.x * tvx2 + e2.x * (1 - tvx2);
var y1 = s1.y * tvx1 + e1.y * (1 - tvx1);
var y2 = s2.y * tvx2 + e2.y * (1 - tvx2);
- console.log( sm, em, s1, e1, tvx1, x1, y1, s2, e2, tvx2, x2, y2 );
- */
+ //console.log( sm, em, s1, e1, tvx1, x1, y1, s2, e2, tvx2, x2, y2 );
var z = heightOfGround + sh*tv.y;
if( wallSideOrder > 0 )
{
Modified: JSFloorPlan/trunk/src/jsfloorplan_example_helper.js
===================================================================
--- JSFloorPlan/trunk/src/jsfloorplan_example_helper.js 2011-12-18 13:27:38 UTC (rev 588)
+++ JSFloorPlan/trunk/src/jsfloorplan_example_helper.js 2011-12-18 14:19:21 UTC (rev 589)
@@ -20,6 +20,8 @@
* Free Software Foundation, Inc., *
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
* *
+ * @module JSFloorPlan3D *
+ * @submodule JSFloorPlan3D_example *
***************************************************************************/
@@ -166,6 +168,8 @@
/**
* Provides requestAnimationFrame in a cross browser way.
* http://paulirish.com/2011/requestanimationframe-for-smart-animating/
+ * @class window
+ * @method requestAnimationFrame
*/
if ( !window.requestAnimationFrame ) {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|