mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 18:03:56 -04:00
add billboard model type
This commit is contained in:
parent
29e9fe84ec
commit
46d570f4ce
@ -1981,6 +1981,12 @@ do_expand_object_type(EggGroup *egg_group, const pset<string> &expanded,
|
|||||||
} else if (cmp_nocase_uh(object_type, "decal") == 0) {
|
} else if (cmp_nocase_uh(object_type, "decal") == 0) {
|
||||||
egg_syntax = "<Decal> { 1 }";
|
egg_syntax = "<Decal> { 1 }";
|
||||||
|
|
||||||
|
} else if (cmp_nocase_uh(object_type, "billboard") == 0) {
|
||||||
|
egg_syntax = "<Billboard> { axis }";
|
||||||
|
|
||||||
|
} else if (cmp_nocase_uh(object_type, "billboard-point") == 0) {
|
||||||
|
egg_syntax = "<Billboard> { point }";
|
||||||
|
|
||||||
} else if (cmp_nocase_uh(object_type, "backstage") == 0) {
|
} else if (cmp_nocase_uh(object_type, "backstage") == 0) {
|
||||||
// Ignore "backstage" geometry.
|
// Ignore "backstage" geometry.
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user