#242038 success

0fe31dbZack Michener

refactor camera/projection to avoid globals

Owner
~zjm
Created
3 months ago
Updated
3 months ago
Build manifest
view manifest »

Tasks

view log »
build view log »
go to bottom »
setup
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
[#242038] 2020/06/27 00:23:17 Booting image alpine/edge (default) on port 22968
[#242038] 2020/06/27 00:23:17 Waiting for guest to settle
[#242038] 2020/06/27 00:23:26 Sending tasks
[#242038] 2020/06/27 00:23:26 Sending build environment
[#242038] 2020/06/27 00:23:26 Installing packages
Warning: Permanently added '[localhost]:22968' (ECDSA) to the list of known hosts.
fetch http://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
v20200626-39-g10c92d6f2b [http://dl-cdn.alpinelinux.org/alpine/edge/main]
v20200626-42-g22fae395a0 [http://dl-cdn.alpinelinux.org/alpine/edge/community]
v20200626-44-gcbf7f22432 [http://dl-cdn.alpinelinux.org/alpine/edge/testing]
OK: 16888 distinct packages available
Warning: Permanently added '[localhost]:22968' (ECDSA) to the list of known hosts.
(1/10) Installing libpciaccess (0.16-r0)
(2/10) Installing libdrm (2.4.102-r0)
(3/10) Installing brotli-libs (1.0.7-r5)
(4/10) Installing libpng (1.6.37-r1)
(5/10) Installing freetype (2.10.2-r0)
(6/10) Installing tslib (1.21-r0)
(7/10) Installing directfb (1.7.7-r2)
(8/10) Installing directfb-dev (1.7.7-r2)
(9/10) Installing sdl2 (2.0.12-r1)
(10/10) Installing sdl2-dev (2.0.12-r1)
Executing busybox-1.31.1-r21.trigger
OK: 1146 MiB in 211 packages
[#242038] 2020/06/27 00:23:28 Cloning repositories
Cloning into 'Moon3D'...
+ cd Moon3D
+ git checkout -q 0fe31db4998f636b8f65ca790b75c0585ba47d86
+ cd Moon3D
+ git submodule update --init
[#242038] 2020/06/27 00:23:29 Running task build
build
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
+ cd Moon3D
+ make test
mkdir -p build/./test/
gcc -I/usr/local/include/SDL2 -g -Wall -Wextra -Wno-unused-function -c test/clip.test.c -o build/./test/clip.test.c.o
mkdir -p build/./test/
gcc -I/usr/local/include/SDL2 -g -Wall -Wextra -Wno-unused-function -c test/project.test.c -o build/./test/project.test.c.o
mkdir -p build/./test/
gcc -I/usr/local/include/SDL2 -g -Wall -Wextra -Wno-unused-function -c test/light.test.c -o build/./test/light.test.c.o
test/light.test.c: In function 'TestDiffuseLight':
test/light.test.c:21:9: warning: variable 'shade' set but not used [-Wunused-but-set-variable]
   21 |  double shade = DiffuseLight(p, lights);
      |         ^~~~~
mkdir -p build/./test/
gcc -I/usr/local/include/SDL2 -g -Wall -Wextra -Wno-unused-function -c test/render.test.c -o build/./test/render.test.c.o
mkdir -p build/./test/
gcc -I/usr/local/include/SDL2 -g -Wall -Wextra -Wno-unused-function -c test/transform.test.c -o build/./test/transform.test.c.o
mkdir -p build/./test/
gcc -I/usr/local/include/SDL2 -g -Wall -Wextra -Wno-unused-function -c test/vector.test.c -o build/./test/vector.test.c.o
mkdir -p build/./test/
gcc -I/usr/local/include/SDL2 -g -Wall -Wextra -Wno-unused-function -c test/rasterize.test.c -o build/./test/rasterize.test.c.o
test/rasterize.test.c: In function 'TestRasterTriangle':
test/rasterize.test.c:105:12: warning: unused variable 'viewport' [-Wunused-variable]
  105 |  Viewport *viewport = NewViewport(pixels, WHITE, 400, 240);
      |            ^~~~~~~~
mkdir -p build/./test/
gcc -I/usr/local/include/SDL2 -g -Wall -Wextra -Wno-unused-function -c test/endpoint.test.c -o build/./test/endpoint.test.c.o
mkdir -p build/./test/
gcc -I/usr/local/include/SDL2 -g -Wall -Wextra -Wno-unused-function -c test/assertions.test.c -o build/./test/assertions.test.c.o
mkdir -p build/./test/
gcc -I/usr/local/include/SDL2 -g -Wall -Wextra -Wno-unused-function -c test/main.test.c -o build/./test/main.test.c.o
mkdir -p build/./test/
gcc -I/usr/local/include/SDL2 -g -Wall -Wextra -Wno-unused-function -c test/color.test.c -o build/./test/color.test.c.o
mkdir -p build/./src/
gcc -DTEST -I/usr/local/include/SDL2 -g -Wall -Wextra -Wno-unused-function -c src/player.c -o build/./src/player.c.test.o
mkdir -p build/./src/3d/
gcc -DTEST -I/usr/local/include/SDL2 -g -Wall -Wextra -Wno-unused-function -c src/3d/render.c -o build/./src/3d/render.c.test.o
mkdir -p build/./src/3d/device/
gcc -DTEST -I/usr/local/include/SDL2 -g -Wall -Wextra -Wno-unused-function -c src/3d/device/dither.c -o build/./src/3d/device/dither.c.test.o
mkdir -p build/./src/3d/device/
gcc -DTEST -I/usr/local/include/SDL2 -g -Wall -Wextra -Wno-unused-function -c src/3d/device/endpoint.c -o build/./src/3d/device/endpoint.c.test.o
mkdir -p build/./src/3d/device/
gcc -DTEST -I/usr/local/include/SDL2 -g -Wall -Wextra -Wno-unused-function -c src/3d/device/viewport.c -o build/./src/3d/device/viewport.c.test.o
mkdir -p build/./src/3d/device/
gcc -DTEST -I/usr/local/include/SDL2 -g -Wall -Wextra -Wno-unused-function -c src/3d/device/rasterize.c -o build/./src/3d/device/rasterize.c.test.o
src/3d/device/rasterize.c: In function 'RasterTriangle':
src/3d/device/rasterize.c:64:30: warning: unused parameter 'tri' [-Wunused-parameter]
   64 | void RasterTriangle(Polygon *tri, Color color)
      |                     ~~~~~~~~~^~~
src/3d/device/rasterize.c:64:41: warning: unused parameter 'color' [-Wunused-parameter]
   64 | void RasterTriangle(Polygon *tri, Color color)
      |                                   ~~~~~~^~~~~
mkdir -p build/./src/3d/world/
gcc -DTEST -I/usr/local/include/SDL2 -g -Wall -Wextra -Wno-unused-function -c src/3d/world/light.c -o build/./src/3d/world/light.c.test.o
mkdir -p build/./src/3d/world/
gcc -DTEST -I/usr/local/include/SDL2 -g -Wall -Wextra -Wno-unused-function -c src/3d/world/object.c -o build/./src/3d/world/object.c.test.o
mkdir -p build/./src/3d/world/
gcc -DTEST -I/usr/local/include/SDL2 -g -Wall -Wextra -Wno-unused-function -c src/3d/world/mesh.c -o build/./src/3d/world/mesh.c.test.o
mkdir -p build/./src/3d/image/
gcc -DTEST -I/usr/local/include/SDL2 -g -Wall -Wextra -Wno-unused-function -c src/3d/image/project.c -o build/./src/3d/image/project.c.test.o
mkdir -p build/./src/3d/image/
gcc -DTEST -I/usr/local/include/SDL2 -g -Wall -Wextra -Wno-unused-function -c src/3d/image/clip.c -o build/./src/3d/image/clip.c.test.o
mkdir -p build/./src/3d/image/
gcc -DTEST -I/usr/local/include/SDL2 -g -Wall -Wextra -Wno-unused-function -c src/3d/image/camera.c -o build/./src/3d/image/camera.c.test.o
mkdir -p build/./src/3d/abstract/
gcc -DTEST -I/usr/local/include/SDL2 -g -Wall -Wextra -Wno-unused-function -c src/3d/abstract/polygon.c -o build/./src/3d/abstract/polygon.c.test.o
mkdir -p build/./src/3d/abstract/
gcc -DTEST -I/usr/local/include/SDL2 -g -Wall -Wextra -Wno-unused-function -c src/3d/abstract/aabbox.c -o build/./src/3d/abstract/aabbox.c.test.o
mkdir -p build/./src/3d/abstract/
gcc -DTEST -I/usr/local/include/SDL2 -g -Wall -Wextra -Wno-unused-function -c src/3d/abstract/transform.c -o build/./src/3d/abstract/transform.c.test.o
mkdir -p build/./src/3d/abstract/
gcc -DTEST -I/usr/local/include/SDL2 -g -Wall -Wextra -Wno-unused-function -c src/3d/abstract/vertex.c -o build/./src/3d/abstract/vertex.c.test.o
mkdir -p build/./src/3d/abstract/
gcc -DTEST -I/usr/local/include/SDL2 -g -Wall -Wextra -Wno-unused-function -c src/3d/abstract/plane.c -o build/./src/3d/abstract/plane.c.test.o
mkdir -p build/./src/3d/abstract/
gcc -DTEST -I/usr/local/include/SDL2 -g -Wall -Wextra -Wno-unused-function -c src/3d/abstract/point.c -o build/./src/3d/abstract/point.c.test.o
mkdir -p build/./src/scenes/
gcc -DTEST -I/usr/local/include/SDL2 -g -Wall -Wextra -Wno-unused-function -c src/scenes/cubeworld.c -o build/./src/scenes/cubeworld.c.test.o
mkdir -p build/./src/objects/
gcc -DTEST -I/usr/local/include/SDL2 -g -Wall -Wextra -Wno-unused-function -c src/objects/obelisk.c -o build/./src/objects/obelisk.c.test.o
mkdir -p build/./src/
gcc -DTEST -I/usr/local/include/SDL2 -g -Wall -Wextra -Wno-unused-function -c src/sketch.c -o build/./src/sketch.c.test.o
mkdir -p build/./src/
gcc -DTEST -I/usr/local/include/SDL2 -g -Wall -Wextra -Wno-unused-function -c src/input.c -o build/./src/input.c.test.o
mkdir -p build/./src/
gcc -DTEST -I/usr/local/include/SDL2 -g -Wall -Wextra -Wno-unused-function -c src/main.c -o build/./src/main.c.test.o
mkdir -p build/./src/
gcc -DTEST -I/usr/local/include/SDL2 -g -Wall -Wextra -Wno-unused-function -c src/scene.c -o build/./src/scene.c.test.o
gcc -DTEST ./build/./test/clip.test.c.o ./build/./test/project.test.c.o ./build/./test/light.test.c.o ./build/./test/render.test.c.o ./build/./test/transform.test.c.o ./build/./test/vector.test.c.o ./build/./test/rasterize.test.c.o ./build/./test/endpoint.test.c.o ./build/./test/assertions.test.c.o ./build/./test/main.test.c.o ./build/./test/color.test.c.o ./build/./src/player.c.test.o ./build/./src/3d/render.c.test.o ./build/./src/3d/device/dither.c.test.o ./build/./src/3d/device/endpoint.c.test.o ./build/./src/3d/device/viewport.c.test.o ./build/./src/3d/device/rasterize.c.test.o ./build/./src/3d/world/light.c.test.o ./build/./src/3d/world/object.c.test.o ./build/./src/3d/world/mesh.c.test.o ./build/./src/3d/image/project.c.test.o ./build/./src/3d/image/clip.c.test.o ./build/./src/3d/image/camera.c.test.o ./build/./src/3d/abstract/polygon.c.test.o ./build/./src/3d/abstract/aabbox.c.test.o ./build/./src/3d/abstract/transform.c.test.o ./build/./src/3d/abstract/vertex.c.test.o ./build/./src/3d/abstract/plane.c.test.o ./build/./src/3d/abstract/point.c.test.o ./build/./src/scenes/cubeworld.c.test.o ./build/./src/objects/obelisk.c.test.o ./build/./src/sketch.c.test.o ./build/./src/input.c.test.o ./build/./src/main.c.test.o ./build/./src/scene.c.test.o -o ./build/moon_test -L/usr/local/lib -lSDL2 -lm
./build/moon_test
=================================
24 passed, 0 failed.
Build complete: success 3 months ago (took 14 seconds)