// File: /workspace/github_cpp_makefile_star2_O2/carlos-urena[P]svg-gen/figures.cpp
// Function: Figure2_ParamCil::Figure2_ParamCil()
Figure2_ParamCil::Figure2_ParamCil()
{
  vec3 observador = vec3(0.9,0.5,1.0),
       lookat     = vec3(0.0,0.0,0.0),
       vup        = vec3(0.0,1.0,0.0);

  cam = Camera( lookat, observador, vup );

  // elipse plana tangente (perp. al eje Z, con eje mayor Y y eje menor X)
  const vec3 ejex = vec3(1.0,0.0,0.0),
             ejey = vec3(0.0,1.0,0.0),
             ejez = vec3(0.0,0.0,1.0);

  Ellipse * pe = new Ellipse( 64, vec3(0.0,0.0,1.0), real(0.6)*ejex, real(1.5)*ejey );

  // esfera con relleno de gradiente radial
  Sphere * pes2D = new Sphere( vec3(0.0,0.0,0.0), 1.0 );

  // region
  SpherePolygon *    pesf  = new SpherePolygon( *pe );
  YCylinderPolygon * pcy   = new YCylinderPolygon( *pe );

  //añadir objetos
  const int cadacuantos = 4 ;

  objetos.add( new Axes( 0.010 ));

  objetos.add( pes2D );
  //addYAxisProjectorsSegments( cadacuantos, *pesf );
  objetos.add( pesf );
  //addSegments( cadacuantos, *pesf, *pcy );
  objetos.add( pcy );

  objetos.add( new YAxisCylinder( cam ) );
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x88, %rsp
movq %rdi, %r14
callq 0x8796
movabsq $0x3f0000003f666666, %rax # imm = 0x3F0000003F666666
leaq -0xa4(%rbp), %rsi
andq $0x0, (%rsi)
leaq -0xb0(%rbp), %rdx
andl $0x0, 0x8(%rsi)
movq %rax, (%rdx)
movl $0x3f800000, 0x8(%rdx)  # imm = 0x3F800000
movabsq $0x3f80000000000000, %rbx # imm = 0x3F80000000000000
leaq -0x98(%rbp), %rcx
movq %rbx, (%rcx)
andl $0x0, 0x8(%rcx)
leaq -0x8c(%rbp), %rdi
movq %r14, -0x38(%rbp)
callq 0x5f0c
movups -0x8c(%rbp), %xmm0
movups -0x7c(%rbp), %xmm1
movups -0x6c(%rbp), %xmm2
movups %xmm2, 0x20(%r14)
movups %xmm1, 0x10(%r14)
movups %xmm0, (%r14)
movq $0x3f800000, -0x8c(%rbp) # imm = 0x3F800000
andl $0x0, -0x84(%rbp)
movq %rbx, -0x5c(%rbp)
andl $0x0, -0x54(%rbp)
movl $0x98, %edi
callq 0x31b0
movq %rax, %r14
andq $0x0, -0x44(%rbp)
movl $0x3f800000, -0x3c(%rbp) # imm = 0x3F800000
movss 0x78c6(%rip), %xmm0     # 0xb010
leaq -0x8c(%rbp), %rdi
callq 0x52f1
movlps %xmm0, -0x50(%rbp)
movss %xmm1, -0x48(%rbp)
movss 0x78ad(%rip), %xmm0     # 0xb014
leaq -0x5c(%rbp), %rdi
callq 0x52f1
pushq $0x40
popq %rsi
leaq -0x44(%rbp), %rdx
leaq -0x50(%rbp), %rcx
movq %r14, %rdi
callq 0x70d6
pushq $0x38
popq %rdi
callq 0x31b0
movq %rax, %r15
leaq -0x44(%rbp), %rsi
andq $0x0, (%rsi)
andl $0x0, 0x8(%rsi)
movss 0x7866(%rip), %xmm0     # 0xb008
movq %rax, %rdi
callq 0x67a0
movl $0x98, %edi
callq 0x31b0
movq %rax, %r12
movq %rax, %rdi
movq %r14, %rsi
xorl %edx, %edx
callq 0x8b4a
movl $0x98, %edi
callq 0x31b0
movq %rax, %r13
movq %rax, %rdi
movq %r14, %rsi
callq 0x90e0
pushq $0x38
popq %rdi
callq 0x31b0
movq %rax, %rbx
movss 0x781d(%rip), %xmm0     # 0xb00c
movq %rax, %rdi
xorl %esi, %esi
callq 0x7ca0
movq -0x38(%rbp), %rax
leaq 0x30(%rax), %r14
movq %r14, %rdi
movq %rbx, %rsi
callq 0x664c
movq %r14, %rdi
movq %r15, %rsi
callq 0x664c
movq %r14, %rdi
movq %r12, %rsi
callq 0x664c
movq %r14, %rdi
movq %r13, %rsi
callq 0x664c
pushq $0x38
popq %rdi
callq 0x31b0
movq %rax, %rbx
movq %rax, %rdi
movq -0x38(%rbp), %rsi
callq 0x804a
movq %r14, %rdi
movq %rbx, %rsi
callq 0x664c
addq $0x88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x3863
movq %rax, -0x30(%rbp)
movq %rbx, %rdi
jmp 0x3898
movq %rax, -0x30(%rbp)
movq %r13, %rdi
jmp 0x3898
jmp 0x389f
movq %rax, -0x30(%rbp)
movq %r12, %rdi
jmp 0x3898
jmp 0x389f
movq %rax, -0x30(%rbp)
movq %r15, %rdi
jmp 0x3898
jmp 0x389f
jmp 0x389f
jmp 0x389f
movq %rax, -0x30(%rbp)
movq %r14, %rdi
callq 0x3190
jmp 0x38a3
movq %rax, -0x30(%rbp)
movq -0x38(%rbp), %rdi
callq 0x53e4
movq -0x30(%rbp), %rdi
callq 0x3250
nop