summaryrefslogtreecommitdiff
path: root/ipl/gprocs/grecords.icn
blob: 612c1fe9111800f2ffff7473168e49d4a06a5ea9 (plain)
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
36
############################################################################
#
#	File:     grecords.icn
#
#	Subject:  Declarations for graphics
#
#	Author:   Ralph E. Griswold
#
#	Date:     July 27, 1996
#
############################################################################
#
#   This file is in the public domain.
#
############################################################################
#
#  These declarations are used in procedures that manipulate objects
#  in two- and three-dimensional space.
#
############################################################################

record point2(x, y)

record vector2(x, y)

record box2(p2min, p2max)

record point3(x, y, z)

record vector3(x, y, z)

record box3(p3min, p3max)

record rect(x, y, w, h)

record line(x1, y1, x2, y2)