Learning_GTK4_tree/demos/gtk-demo/four_point_transform.h

14 lines
442 B
C
Raw Normal View History

2023-12-12 11:36:42 +01:00
#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);