mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-09 18:30:08 +00:00
acc2516b3c
This demo uses transforms to place icons on a sphere.
14 lines
442 B
C
14 lines
442 B
C
#pragma once
|
|
|
|
#include <graphene.h>
|
|
|
|
void perspective_3d (graphene_point3d_t *p1,
|
|
graphene_point3d_t *p2,
|
|
graphene_point3d_t *p3,
|
|
graphene_point3d_t *p4,
|
|
graphene_point3d_t *q1,
|
|
graphene_point3d_t *q2,
|
|
graphene_point3d_t *q3,
|
|
graphene_point3d_t *q4,
|
|
graphene_matrix_t *m);
|