// File: tomfunkhouser[P]gaps/pkgs/R3Graphics/R3Scene.cpp
// Function: gaps::R3Scene::R3Scene()
R3Scene::
R3Scene(void)
  : nodes(),
    lights(),
    materials(),
    brdfs(),
    textures(),
    referenced_scenes(),
    info(),
    viewer(),
    ambient(0.2, 0.2, 0.2),
    background(0, 0, 0),
    filename(NULL),
    name(NULL),
    data(NULL)
{
  // Create root node
  root = new R3SceneNode(this);

  // Initialize viewer
  viewer.SetCamera(R3default_camera);
  viewer.SetViewport(R2default_viewport);
}

// Assembly:
subq $0x68, %rsp
movq %rdi, 0x60(%rsp)
movq 0x60(%rsp), %rdi
movq %rdi, 0x40(%rsp)
addq $0x8, %rdi
movq %rdi, 0x38(%rsp)
callq 0x48140
movq 0x40(%rsp), %rdi
addq $0x18, %rdi
movq %rdi, 0x48(%rsp)
callq 0x48150
jmp 0x2c296
movq 0x40(%rsp), %rdi
addq $0x28, %rdi
movq %rdi, 0x30(%rsp)
callq 0x48160
jmp 0x2c2ab
movq 0x40(%rsp), %rdi
addq $0x38, %rdi
movq %rdi, 0x28(%rsp)
callq 0x48170
jmp 0x2c2c0
movq 0x40(%rsp), %rdi
addq $0x48, %rdi
movq %rdi, 0x20(%rsp)
callq 0x48180
jmp 0x2c2d5
movq 0x40(%rsp), %rdi
addq $0x58, %rdi
movq %rdi, 0x18(%rsp)
callq 0x48190
jmp 0x2c2ea
movq 0x40(%rsp), %rdi
addq $0x68, %rdi
movq %rdi, 0x10(%rsp)
callq 0x481a0
jmp 0x2c2ff
movq 0x40(%rsp), %rdi
addq $0x70, %rdi
movq %rdi, 0x8(%rsp)
callq 0x5a270
jmp 0x2c314
movq 0x40(%rsp), %rdi
addq $0x118, %rdi            # imm = 0x118
movsd 0x162258(%rip), %xmm2   # 0x18e580
movaps %xmm2, %xmm0
movaps %xmm2, %xmm1
callq 0xef340
jmp 0x2c335
movq 0x40(%rsp), %rdi
addq $0x130, %rdi            # imm = 0x130
xorps %xmm2, %xmm2
movaps %xmm2, %xmm0
movaps %xmm2, %xmm1
callq 0xef340
jmp 0x2c351
movq 0x40(%rsp), %rax
movq $0x0, 0x148(%rax)
movq $0x0, 0x150(%rax)
movq $0x0, 0x158(%rax)
movl $0x1b0, %edi            # imm = 0x1B0
callq 0x229e0
movq %rax, (%rsp)
jmp 0x2c387
movq 0x40(%rsp), %rsi
movq (%rsp), %rdi
callq 0x555e0
jmp 0x2c397
movq 0x40(%rsp), %rdi
movq (%rsp), %rax
movq %rax, (%rdi)
addq $0x70, %rdi
leaq 0x1cfa12(%rip), %rsi    # 0x1fbdc0
callq 0x5a440
jmp 0x2c3b5
movq 0x40(%rsp), %rdi
addq $0x70, %rdi
leaq 0x1cfa8b(%rip), %rsi    # 0x1fbe50
callq 0x5a4f0
jmp 0x2c3cc
addq $0x68, %rsp
retq
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x58(%rsp)
movl %eax, 0x54(%rsp)
jmp 0x2c4bf
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x58(%rsp)
movl %eax, 0x54(%rsp)
jmp 0x2c4b5
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x58(%rsp)
movl %eax, 0x54(%rsp)
jmp 0x2c4ab
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x58(%rsp)
movl %eax, 0x54(%rsp)
jmp 0x2c4a1
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x58(%rsp)
movl %eax, 0x54(%rsp)
jmp 0x2c497
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x58(%rsp)
movl %eax, 0x54(%rsp)
jmp 0x2c48d
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x58(%rsp)
movl %eax, 0x54(%rsp)
jmp 0x2c483
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x58(%rsp)
movl %eax, 0x54(%rsp)
jmp 0x2c479
movq (%rsp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x58(%rsp)
movl %eax, 0x54(%rsp)
movl $0x1b0, %esi            # imm = 0x1B0
callq 0x22a00
movq 0x8(%rsp), %rdi
callq 0x5a400
movq 0x10(%rsp), %rdi
callq 0x481b0
movq 0x18(%rsp), %rdi
callq 0x481c0
movq 0x20(%rsp), %rdi
callq 0x481d0
movq 0x28(%rsp), %rdi
callq 0x481e0
movq 0x30(%rsp), %rdi
callq 0x481f0
movq 0x48(%rsp), %rdi
callq 0x48200
movq 0x38(%rsp), %rdi
callq 0x48210
movq 0x58(%rsp), %rdi
callq 0x23290
nopw %cs:(%rax,%rax)