[opengtl-commits] [316] cleanup |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/opengtl-commits Archives
]
Revision: 316
Author: cyrille
Date: 2008-08-06 09:59:05 +0200 (Wed, 06 Aug 2008)
Log Message:
-----------
cleanup
Modified Paths:
--------------
trunk/OpenGTL/OpenCTL/OpenCTL/ctlstdlib.ctl
Modified: trunk/OpenGTL/OpenCTL/OpenCTL/ctlstdlib.ctl
===================================================================
--- trunk/OpenGTL/OpenCTL/OpenCTL/ctlstdlib.ctl 2008-08-06 07:58:38 UTC (rev 315)
+++ trunk/OpenGTL/OpenCTL/OpenCTL/ctlstdlib.ctl 2008-08-06 07:59:05 UTC (rev 316)
@@ -149,10 +149,6 @@
{
if( table[i][0] <= p && p < table[i+1][0] )
{
-/* if( i < 1 || i >= table.size-2 )
- {
- return interpolate1D( table, p );
- }*/
float s = (p - table[i][0]) / (table[i+1][0] - table[i][0]);
float dx1 = (table[i+1][0] - table[i][0]);
float dy1 = (table[i+1][1] - table[i][1]);