# HG changeset patch # User Mike Becker # Date 1751989533 -7200 # Node ID 7f72375bedc806216f350577613971296239f1e7 # Parent 2c063b225183799c25749db615dba8e44f846d0e remove functions that construct a transform from position/rotation/scale diff -r 2c063b225183 -r 7f72375bedc8 src/ascension/transform.h --- a/src/ascension/transform.h Mon Jul 07 22:51:06 2025 +0200 +++ b/src/ascension/transform.h Tue Jul 08 17:45:33 2025 +0200 @@ -76,18 +76,6 @@ // TODO: implement } -ASC_TRANFORM_FUNC void asc_transform_from_vec3f( - asc_transform transform, - asc_vec3f position, - asc_vec3f scale, - asc_vec3f rotation -) { - asc_transform_identity(transform); - asc_transform_scale3f(transform, scale); - asc_transform_translate3f(transform, position); - asc_transform_rotate_euler3f(transform, rotation); -} - ASC_TRANFORM_FUNC void asc_transform_translate2f( asc_transform transform, asc_vec2f vec @@ -113,16 +101,4 @@ // TODO: implement - and think about the point of origin! } -ASC_TRANFORM_FUNC void asc_transform_from_vec2f( - asc_transform transform, - asc_vec2f position, - asc_vec2f scale, - asc_vec2f rotation -) { - asc_transform_identity(transform); - asc_transform_scale2f(transform, scale); - asc_transform_translate2f(transform, position); - asc_transform_rotate_euler2f(transform, rotation); -} - #endif //ASCENSION_TRANSFORM_H