Source code for body.mesh_terrain

from bodybase import BodyBase
[docs]class MeshTerrain(BodyBase): """ a mesh based terrain object """ def __init__(pos,points,triangles): """ pos: position of the plane points: A set of vertices, which describe the location of corners in an object. triangles: A set of indices, which describes how the corners are connected to form triangle surfaces in an object. """ pass