blob: 4e1c0a1af4dbb846dd7c69365a0b7c8d3bad1139 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
. "${GRIMOIRE}/MESON_FUNCTIONS"
SPELL="graphene"
VERSION="1.8.2"
SOURCE_HASH="sha256:b3fcf20996e57b1f4df3941caac10f143bb29890a42f7a65407cd19271fc89f7:UPSTREAM_HASH"
SOURCE="${SPELL}-${VERSION}.tar.xz"
SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
SOURCE_URL[0]="${GNOME_URL}/sources/${SPELL}/${VERSION%.*}/${SOURCE}"
SOURCE_URL[1]="https://github.com/ebassi/${SPELL}/releases/download/${VERSION}/${SOURCE}"
LICENSE[0]="MIT"
WEB_SITE="https://ebassi.github.io/graphene/"
ENTERED="20190122"
SHORT="a thin layer of types for graphic libraries"
cat << EOF
Graphene provides common types needed to handle 3D transformations:
* 2D points
* 3D points
* triangles
* rectangles
* quads
* quaternions
* euler angles
* vectors (2, 3, or 4-sized)
* matrices
* planes
* 3D boxes
* spheres
* frustums
Graphene also provides its low-level SIMD vector and matrix types, which are
used to implement the API above.
All types can be placed on the stack, but provide allocation/free functions for
working on the heap as well. The contents of all structure types, unless noted
otherwise, should be considered private, and should never be accessed directly.
EOF
|