![]() |
PK_TRANSF_create_translation |
PK_ERROR_code_t PK_TRANSF_create_translation ( --- received arguments --- PK_VECTOR_t displacement, --- direction and distance --- returned arguments --- PK_TRANSF_t *const transf --- translation transformation ) Create a translation transformation. A transf is created that, when applied to an entity, causes it to be translated by the given 'displacement'.