mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 00:32:57 -04:00
Added radio_button_gui geom
This commit is contained in:
parent
8a9fe2a16d
commit
148952aa5b
@ -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
|
||||
|
33
dmodels/src/gui/radio_button_gui.egg
Executable file
33
dmodels/src/gui/radio_button_gui.egg
Executable 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
BIN
dmodels/src/maps/circle.png
Executable file
Binary file not shown.
After Width: | Height: | Size: 5.5 KiB |
Loading…
x
Reference in New Issue
Block a user