Skip to content

Commit

Permalink
textured cube
Browse files Browse the repository at this point in the history
  • Loading branch information
kion-dgl committed Feb 13, 2020
1 parent bb67555 commit 8afd3e2
Show file tree
Hide file tree
Showing 7 changed files with 1,007 additions and 0 deletions.
Binary file added 09_texture_cube/assets/texture.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions 09_texture_cube/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
gcc -c lib/dashgl.c -o lib/dashgl.o -I/opt/vc/include/ -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include/interface/vmcs_host/linux -I./ -I/opt/vc/src/hello_pi/libs/ilclient -I/opt/vc/src/hello_pi/libs/vgfont -I/opt/vc/src/hello_pi/libs/revision -lpng

gcc -c main.c -o tmp.o -I/opt/vc/include/ -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include/interface/vmcs_host/linux -I./ -I/opt/vc/src/hello_pi/libs/ilclient -I/opt/vc/src/hello_pi/libs/vgfont -I/opt/vc/src/hello_pi/libs/revision

gcc -o a.out lib/dashgl.o tmp.o -L/opt/vc/lib/ -lbrcmGLESv2 -lbrcmEGL -lopenmaxil -lbcm_host -lvcos -lvchiq_arm -lpthread -lrt -lm -L/opt/vc/src/hello_pi/libs/ilclient -L/opt/vc/src/hello_pi/libs/vgfont -L/opt/vc/src/hello_pi/libs/revision -lpng
Loading

0 comments on commit 8afd3e2

Please sign in to comment.