We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#include <stdio.h> #include <graphene.h> int main() { graphene_matrix_t transform; graphene_matrix_init_identity (&transform); printf("is 2d: %d\n", graphene_matrix_is_2d(&transform)); graphene_vec3_t transl; graphene_vec3_t scale; graphene_quaternion_t rot; graphene_vec3_t shear; graphene_vec4_t persp; bool ret = graphene_matrix_decompose (&transform, &transl, &scale, &rot, &shear, &persp); printf ("scale %f %f %f\n", graphene_vec3_get_x (&scale), graphene_vec3_get_y (&scale), graphene_vec3_get_z (&scale)); }
compiled with gcc $(pkg-config --libs --cflags graphene-1.0) graphene_matrix.c
is 2d: 1 scale 1.000000 1.000000 0.000000
scale 1.000000 1.000000 1.000000
Archlinux, graphene 1.10.8
Defaults on x86_64, Ryzen 3950X
The text was updated successfully, but these errors were encountered:
No branches or pull requests
compiled with gcc $(pkg-config --libs --cflags graphene-1.0) graphene_matrix.c
Experienced behavior
Expected behavior
Operating system in use
Archlinux, graphene 1.10.8
SIMD implementation in use
Defaults on x86_64, Ryzen 3950X
The text was updated successfully, but these errors were encountered: