Skip to content

(transform 'translation. . . )

Description

Transform a mesh by translation.

Syntax

(Transform 'rotation mesh translation-vector)

Parameters

mesh The mesh to be transformed by translation.
translation-vector vector of translation.
For instance translation in the y-direction of length 0.1 meter is given by the vector (vector 0 0.1 0).

Example

(transform 'translation my-mesh (vector 0 0.1 0))

See also

duplicate 'rotation