![]() |
PK_TRANSF_create_reflection |
PK_ERROR_code_t PK_TRANSF_create_reflection ( --- received arguments --- PK_VECTOR_t position, --- position on plane PK_VECTOR1_t normal, --- normal direction --- returned arguments --- PK_TRANSF_t *const transf --- reflection transformation ) This function creates a reflection transformation. A transf is created that, when applied to an entity, causes it to be reflected in the plane defined by the given 'position' and 'normal'.