Pārlūkot izejas kodu

EasyMesh syntax was dead. Again.

undefined
Benjamin ‘Touky’ Huet Sam Hocevar <sam@hocevar.net> pirms 11 gadiem
vecāks
revīzija
15de2a1e56
2 mainītis faili ar 4 papildinājumiem un 4 dzēšanām
  1. +2
    -2
      src/easymesh/easymesh-parser.y
  2. +2
    -2
      src/generated/easymesh-parser.cpp

+ 2
- 2
src/easymesh/easymesh-parser.y Parādīt failu

@@ -151,8 +151,8 @@ transform_command:
| T_ROTATEX fv { mc.m_mesh.RotateX($2); }
| T_ROTATEY fv { mc.m_mesh.RotateY($2); }
| T_ROTATEZ fv { mc.m_mesh.RotateZ($2); }
| T_ROTATE fv fv fv fv { mc.m_mesh.RotateZ($2, vec3($3, $4, $5)); }
| T_ROTATE fv v3 { mc.m_mesh.RotateZ($2, vec3($3[0], $3[1], $3[2])); }
| T_ROTATE fv fv fv fv { mc.m_mesh.Rotate($2, vec3($3, $4, $5)); }
| T_ROTATE fv v3 { mc.m_mesh.Rotate($2, vec3($3[0], $3[1], $3[2])); }
| T_RADIALJITTER fv { mc.m_mesh.RadialJitter($2); }
| T_TAPERX fv fv fv bv { mc.m_mesh.TaperX($2, $3, $4, $5); }
| T_TAPERX fv fv fv { mc.m_mesh.TaperX($2, $3, $4); }


+ 2
- 2
src/generated/easymesh-parser.cpp Parādīt failu

@@ -592,14 +592,14 @@ namespace lol {

/* Line 677 of lalr1.cc */
#line 154 "easymesh/easymesh-parser.y"
{ mc.m_mesh.RotateZ((yysemantic_stack_[(5) - (2)].fval), vec3((yysemantic_stack_[(5) - (3)].fval), (yysemantic_stack_[(5) - (4)].fval), (yysemantic_stack_[(5) - (5)].fval))); }
{ mc.m_mesh.Rotate((yysemantic_stack_[(5) - (2)].fval), vec3((yysemantic_stack_[(5) - (3)].fval), (yysemantic_stack_[(5) - (4)].fval), (yysemantic_stack_[(5) - (5)].fval))); }
break;

case 35:

/* Line 677 of lalr1.cc */
#line 155 "easymesh/easymesh-parser.y"
{ mc.m_mesh.RotateZ((yysemantic_stack_[(3) - (2)].fval), vec3((yysemantic_stack_[(3) - (3)].vval)[0], (yysemantic_stack_[(3) - (3)].vval)[1], (yysemantic_stack_[(3) - (3)].vval)[2])); }
{ mc.m_mesh.Rotate((yysemantic_stack_[(3) - (2)].fval), vec3((yysemantic_stack_[(3) - (3)].vval)[0], (yysemantic_stack_[(3) - (3)].vval)[1], (yysemantic_stack_[(3) - (3)].vval)[2])); }
break;

case 36:


Notiek ielāde…
Atcelt
Saglabāt