Advertisement

i lost

Started by November 17, 2003 06:17 AM
-1 comments, last by weekease 21 years, 3 months ago
dCreatePlane(space: dSpaceID, a, b, c, d: dReal) //˵Ã÷ Create a plane geom of the given parameters, and return its ID. If space is nonzero, insert it into that space. The plane equation is a*x+b*y+c*z = d The plane''s normal vector is (a,b,c), and it must have length 1. Planes are non-placeable geoms. This means that, unlike placeable geoms, planes do not have an assigned position and rotation. This means that the parameters (a,b,c,d) are always in global coordinates. In other words it is assumed that the plane is always part of the static environment and not tied to any movable object. ---------- ground := dCreatePlane (space, 0.0, 1.0, 0.0, 0.0); //make a ground at y ---------- how do i create a anomaly terrain by this equation? thank you~
ÔµÀ´£¬Ï§ÔµÔµÈ¥£¬ËæÔµ

This topic is closed to new replies.

Advertisement