equal
deleted
inserted
replaced
122 * Return normal for the given point. |
122 * Return normal for the given point. |
123 * |
123 * |
124 * @param point Point for which the normal is calculated. |
124 * @param point Point for which the normal is calculated. |
125 * @return Normal vector ((0,0) if there's no terrain) |
125 * @return Normal vector ((0,0) if there's no terrain) |
126 */ |
126 */ |
127 Vector getNormal(Vector point) const; |
127 Vector getNormal(Vector point, Vector prevPoint) const; |
128 |
128 |
129 /** |
129 /** |
130 * Generate random terrain. |
130 * Generate random terrain. |
131 * |
131 * |
132 * @param seed Seed for the randomnumber generator. |
132 * @param seed Seed for the randomnumber generator. |