Added radio_button_gui geom

This commit is contained in:
Gyedo Jeon 2008-07-31 00:45:07 +00:00
parent 8a9fe2a16d
commit 148952aa5b
3 changed files with 36 additions and 0 deletions

View File

@ -9,3 +9,6 @@
#define SOURCES $[patsubst %.flt,%.egg,$[wildcard *.flt]]
#end install_egg
#begin install_egg
#define SOURCES radio_button_gui.egg
#end install_egg

View File

@ -0,0 +1,33 @@
<Comment> {
"egg-texture-cards ../maps/circle.png -o radio_button_gui.egg"
}
<Texture> circle {
"../maps/circle.png"
}
<Group> {
<VertexPool> vpool {
<Vertex> 0 {
-0.5 0.5 0
<UV> { 0 1 }
}
<Vertex> 1 {
-0.5 -0.5 0
<UV> { 0 0 }
}
<Vertex> 2 {
0.5 -0.5 0
<UV> { 1 0 }
}
<Vertex> 3 {
0.5 0.5 0
<UV> { 1 1 }
}
}
<Group> circle {
<Polygon> {
<RGBA> { 1 1 1 1 }
<TRef> { circle }
<VertexRef> { 0 1 2 3 <Ref> { vpool } }
}
}
}

BIN
dmodels/src/maps/circle.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.5 KiB