// File: carlos-urena[P]svg-gen/svgobjects.cpp
// Function: ObjectsSet::project(Camera const&)
void ObjectsSet::project( const Camera & cam )
{
   bool primero = true ;

   for( Object * pobjeto : objetos )
   {
      assert( pobjeto != nullptr );
      pobjeto->project( cam );

      if ( primero )
      {
         min = pobjeto->min ;
         max = pobjeto->max ;
         primero = false ;
   }
   else
   {
      min[0] = std::min( min[0], pobjeto->min[0] );
      min[1] = std::min( min[1], pobjeto->min[1] );
      max[0] = std::max( max[0], pobjeto->max[0] );
      max[1] = std::max( max[1], pobjeto->max[1] );
   }
   //using namespace std ;
   //cout << "min ==" << min << ", max == " << max << endl ;
  }
  projected = true ;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x80, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x40(%rbp)
movb $0x1, -0x11(%rbp)
addq $0x20, %rax
movq %rax, -0x20(%rbp)
movq -0x20(%rbp), %rdi
callq 0x138f0
movq %rax, -0x28(%rbp)
movq -0x20(%rbp), %rdi
callq 0x13920
movq %rax, -0x30(%rbp)
leaq -0x28(%rbp), %rdi
leaq -0x30(%rbp), %rsi
callq 0x13950
testb $0x1, %al
jne 0xb6f7
jmp 0xb8ae
leaq -0x28(%rbp), %rdi
callq 0x13990
movq (%rax), %rax
movq %rax, -0x38(%rbp)
cmpq $0x0, -0x38(%rbp)
je 0xb710
jmp 0xb72f
leaq 0xbffc(%rip), %rdi      # 0x17713
leaq 0xbd52(%rip), %rsi      # 0x17470
movl $0x182, %edx            # imm = 0x182
leaq 0xbffc(%rip), %rcx      # 0x17726
callq 0x3100
movq -0x38(%rbp), %rdi
movq -0x10(%rbp), %rsi
movq (%rdi), %rax
callq *0x8(%rax)
testb $0x1, -0x11(%rbp)
je 0xb768
movq -0x40(%rbp), %rax
movq -0x38(%rbp), %rcx
movq 0xc(%rcx), %rcx
movq %rcx, 0xc(%rax)
movq -0x38(%rbp), %rcx
movq 0x14(%rcx), %rcx
movq %rcx, 0x14(%rax)
movb $0x0, -0x11(%rbp)
jmp 0xb89e
movq -0x40(%rbp), %rdi
addq $0xc, %rdi
callq 0x13470
movq %rax, -0x80(%rbp)
movq -0x38(%rbp), %rdi
addq $0xc, %rdi
callq 0x13470
movq -0x80(%rbp), %rdi
movq %rax, %rsi
callq 0x135c0
movq -0x40(%rbp), %rdi
movss (%rax), %xmm0
movss %xmm0, -0x74(%rbp)
addq $0xc, %rdi
callq 0x13470
movss -0x74(%rbp), %xmm0
movq -0x40(%rbp), %rdi
movss %xmm0, (%rax)
addq $0xc, %rdi
callq 0x13470
addq $0x4, %rax
movq %rax, -0x70(%rbp)
movq -0x38(%rbp), %rdi
addq $0xc, %rdi
callq 0x13470
movq -0x70(%rbp), %rdi
movq %rax, %rsi
addq $0x4, %rsi
callq 0x135c0
movq -0x40(%rbp), %rdi
movss (%rax), %xmm0
movss %xmm0, -0x64(%rbp)
addq $0xc, %rdi
callq 0x13470
movss -0x64(%rbp), %xmm0
movq -0x40(%rbp), %rdi
movss %xmm0, 0x4(%rax)
addq $0x14, %rdi
callq 0x13470
movq %rax, -0x60(%rbp)
movq -0x38(%rbp), %rdi
addq $0x14, %rdi
callq 0x13470
movq -0x60(%rbp), %rdi
movq %rax, %rsi
callq 0x13600
movq -0x40(%rbp), %rdi
movss (%rax), %xmm0
movss %xmm0, -0x54(%rbp)
addq $0x14, %rdi
callq 0x13470
movss -0x54(%rbp), %xmm0
movq -0x40(%rbp), %rdi
movss %xmm0, (%rax)
addq $0x14, %rdi
callq 0x13470
addq $0x4, %rax
movq %rax, -0x50(%rbp)
movq -0x38(%rbp), %rdi
addq $0x14, %rdi
callq 0x13470
movq -0x50(%rbp), %rdi
movq %rax, %rsi
addq $0x4, %rsi
callq 0x13600
movq -0x40(%rbp), %rdi
movss (%rax), %xmm0
movss %xmm0, -0x44(%rbp)
addq $0x14, %rdi
callq 0x13470
movss -0x44(%rbp), %xmm0
movss %xmm0, 0x4(%rax)
jmp 0xb8a0
leaq -0x28(%rbp), %rdi
callq 0x139b0
jmp 0xb6e1
movq -0x40(%rbp), %rax
movb $0x1, 0x8(%rax)
addq $0x80, %rsp
popq %rbp
retq
nop