@@ -127,9 +127,9 @@ transform_command: | |||||
| T_TAPERX args3 { mc.m_mesh.TaperX($2.f0, $2.f1, $2.f2); } | | T_TAPERX args3 { mc.m_mesh.TaperX($2.f0, $2.f1, $2.f2); } | ||||
| T_TAPERY args3 { mc.m_mesh.TaperY($2.f0, $2.f1, $2.f2); } | | T_TAPERY args3 { mc.m_mesh.TaperY($2.f0, $2.f1, $2.f2); } | ||||
| T_TAPERZ args3 { mc.m_mesh.TaperZ($2.f0, $2.f1, $2.f2); } | | T_TAPERZ args3 { mc.m_mesh.TaperZ($2.f0, $2.f1, $2.f2); } | ||||
| T_SCALEX args1 { mc.m_mesh.Scale(vec3($2.f0, 0, 0)); } | |||||
| T_SCALEY args1 { mc.m_mesh.Scale(vec3(0, $2.f0, 0)); } | |||||
| T_SCALEZ args1 { mc.m_mesh.Scale(vec3(0, 0, $2.f0)); } | |||||
| T_SCALEX args1 { mc.m_mesh.Scale(vec3($2.f0, 1.0, 1.0)); } | |||||
| T_SCALEY args1 { mc.m_mesh.Scale(vec3(1.0, $2.f0, 1.0)); } | |||||
| T_SCALEZ args1 { mc.m_mesh.Scale(vec3(1.0, 1.0, $2.f0)); } | |||||
| T_SCALE args3 { mc.m_mesh.Scale(vec3($2.f0, $2.f1, $2.f2)); } | | T_SCALE args3 { mc.m_mesh.Scale(vec3($2.f0, $2.f1, $2.f2)); } | ||||
| T_MIRRORX { mc.m_mesh.MirrorX(); } | | T_MIRRORX { mc.m_mesh.MirrorX(); } | ||||
| T_MIRRORY { mc.m_mesh.MirrorY(); } | | T_MIRRORY { mc.m_mesh.MirrorY(); } | ||||
@@ -590,21 +590,21 @@ namespace lol { | |||||
/* Line 690 of lalr1.cc */ | /* Line 690 of lalr1.cc */ | ||||
#line 130 "easymesh/easymesh-parser.y" | #line 130 "easymesh/easymesh-parser.y" | ||||
{ mc.m_mesh.Scale(vec3((yysemantic_stack_[(2) - (2)].args).f0, 0, 0)); } | |||||
{ mc.m_mesh.Scale(vec3((yysemantic_stack_[(2) - (2)].args).f0, 1.0, 1.0)); } | |||||
break; | break; | ||||
case 30: | case 30: | ||||
/* Line 690 of lalr1.cc */ | /* Line 690 of lalr1.cc */ | ||||
#line 131 "easymesh/easymesh-parser.y" | #line 131 "easymesh/easymesh-parser.y" | ||||
{ mc.m_mesh.Scale(vec3(0, (yysemantic_stack_[(2) - (2)].args).f0, 0)); } | |||||
{ mc.m_mesh.Scale(vec3(1.0, (yysemantic_stack_[(2) - (2)].args).f0, 1.0)); } | |||||
break; | break; | ||||
case 31: | case 31: | ||||
/* Line 690 of lalr1.cc */ | /* Line 690 of lalr1.cc */ | ||||
#line 132 "easymesh/easymesh-parser.y" | #line 132 "easymesh/easymesh-parser.y" | ||||
{ mc.m_mesh.Scale(vec3(0, 0, (yysemantic_stack_[(2) - (2)].args).f0)); } | |||||
{ mc.m_mesh.Scale(vec3(1.0, 1.0, (yysemantic_stack_[(2) - (2)].args).f0)); } | |||||
break; | break; | ||||
case 32: | case 32: | ||||