graphene icon indicating copy to clipboard operation
graphene copied to clipboard

A thin layer of graphic data types

Results 28 graphene issues
Sort by recently updated
recently updated
newest added
trafficstars

The following code tries to intersect a ray from the origin to (1, 0) to a triangle right on its right ```rust let a = graphene::Point3D::new(2.0, 0.0, 0.0); let b...

math

I'm using below set of meson settings: ``` -D gtk_doc=true \ -D installed_tests=true \ -D introspection=enabled \ -D tests=true \ ```` ``` [tkloczko@barrel x86_64-redhat-linux-gnu]$ ninja test [0/1] Running all tests....

It might be possible to return a pointer to the start of a `graphene_simd4_t` (or `graphene_simd4x4f_t`) to functions that expect an array of floating point values; this would allow removing...

enhancement
simd

https://ebassi.github.io/graphene/docs/graphene-SIMD-matrix.html#graphene-simd4x4f-vec4-mul says: ``` void graphene_simd4x4f_vec4_mul (const graphene_simd4x4f_t *a, const graphene_simd4f_t *b, graphene_simd4f_t *res); Left multiplies the given graphene_simd4x4f_t with the given graphene_simd4f_t row vector using a dot product: res =...

enhancement
docs

GTK uses graphene_rect_t for 2d bounding boxes in a number of places, but its representation as origin+size makes is somewhat unsuitable for that use. Issues: - due to floating point...

Instead of using bytewise comparison, use isinf() and hope it works correctly with single precision floats on the target platform; additionally, since the negative return value for negative infinities is...

When transforming points with projective matrices, we must divide the resulting vector by w, in order to get the normalized result. This commit fixes graphene_matrix_transform_point, graphene_matrix_transform_point3d and graphene_matrix_transform_bounds. I suspect...

GNU libc already marks isinff and isnanf functions as obsolete. They have been replaced by isinf and isnan macros defined by C99. Since we already requires C99 in this project,...

Proposed changes: - add g_autoptr(graphene_$TYPE_t) support This is handy when writing an application.

Works like `graphene_box_t`, but in two dimensions.