src/proto2/Terrain.hh
changeset 147 233789c40c07
parent 146 329953407fdc
child 149 ce4d8f12373a
equal deleted inserted replaced
146:329953407fdc 147:233789c40c07
   104      * @param r Circle radius
   104      * @param r Circle radius
   105      */ 
   105      */ 
   106     void removeGround(Vector pos, float r);
   106     void removeGround(Vector pos, float r);
   107 
   107 
   108     /**
   108     /**
   109      * Get tangent for the given point.
       
   110      *
       
   111      * @param point Point where the tangent is calculated
       
   112      * @param n Accuracy in pixels 
       
   113      */
       
   114     Vector getTangent(Vector prevPoint, Vector hitPoint,  int n = 1) const;
       
   115     /**
       
   116      * Get tangent for the given point.
       
   117      *
       
   118      * @param point Point where the tangent is calculated
       
   119      * @param a Accuracy in scaled units.
       
   120      */
       
   121     Vector getTangent(Vector prevPoint, Vector hitPoint, float a) const;
       
   122 
       
   123     /**
       
   124      * Return normal for the given point.
   109      * Return normal for the given point.
   125      *
   110      *
   126      * @param point Point for which the normal is calculated.
   111      * @param point Point for which the normal is calculated.
   127      * @param n Accuracy in pixels
   112      * @param n Accuracy in pixels
   128      */
   113      */