equal
deleted
inserted
replaced
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 */ |