소스 검색

add billboard model type

David Rose 23 년 전
부모
커밋
46d570f4ce
1개의 변경된 파일6개의 추가작업 그리고 0개의 파일을 삭제
  1. 6 0
      panda/src/egg2pg/eggLoader.cxx

+ 6 - 0
panda/src/egg2pg/eggLoader.cxx

@@ -1981,6 +1981,12 @@ do_expand_object_type(EggGroup *egg_group, const pset<string> &expanded,
     } else if (cmp_nocase_uh(object_type, "decal") == 0) {
       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) {
       // Ignore "backstage" geometry.
       return false;