coord


coordonnées

coord vertex

coord vertex(s)obj(id)

        Returns the texture mapping coordinates of the vertex s of the object's type obj and identifier id.

coord vertex(s) vol(id)=u,v

        Change these coordinates.
Notes:
The object id must be isomorphic to a grid (secx vol (id) and secy vol (id) must not be null).
(0.0,0.0) is the lower left corner
(1.0,0.0) is the lower right corner
(0.0,1.0) is upper left corner
(1.0,1.0) is upper right corner
generate coord vertex obj(id)
        Automatically generates the coordinates, used by the real-time Texture2D (see interaction).

coord(ind)vertex(s)obj(id)

        Returns the x (if ind = 0), y (if ind = 1) or z (if ind = 2) of vertex s of the id object's (all if s is absent).

coord(ind)vertex(s)obj(id)=v

        Change this value.
Example:
grid(1);$coord(0)vertex vo(1);
prints: -50.0 50.0 -50.0 50.0