ray_tracing_indirect_scissor/hello_vulkan.cpp
void HelloVulkan::addLantern(nvmath::vec3f pos, nvmath::vec3f color, float brightness, float radius)
{
  assert(m_lanternCount == 0);  // Indicates TLAS build has not happened yet.

  m_lanterns.push_back({pos, color, brightness, radius});
}
// Add a light-emitting colored lantern to the scene. May only be called before TLAS build.
Add a light-emitting colored lantern to the scene. May only be called before TLAS build.
Add a light - emitting colored lantern to the scene . May only be called before TLAS build .
void HelloVulkan::addLantern(nvmath::vec3f pos, nvmath::vec3f color, float brightness, float radius)
{
  assert(m_lanternCount == 0);  
  m_lanterns.push_back({pos, color, brightness, radius});
}
void HelloVulkan :: addLantern ( nvmath :: vec3f pos , nvmath :: vec3f color , float brightness , float radius ) { assert ( m_lanternCount == 0 ) ; m_lanterns . push_back ( { pos , color , brightness , radius } ) ; }
Add a light-emitting colored lantern to the scene.
Add a light - emitting colored lantern to the scene .
// Indicates TLAS build has not happened yet.