rev: 3827f53bae88e48a594610914ba74b9512ead6dd tukan/testing/test_raa.sc -rw-r--r-- 325 bytes View raw Log this file
3827f53bae88 — Leonard Ritter * more work on module system 3 months ago
                                                                                
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
import ..tukan.use

using import glm
using import tukan.interval

print
    (Interval -0.25 1.0) as Affine as Interval

let x =
    Affine.linear 0.0 1.0 0.0 0.0
let y =
    Affine.linear 0.0 0.0 1.0 0.0

print
    x + y
print
    - x

print
    x + 3.0

print x
    'radius x

print
    'radius
        1.0 as Affine2

;