1 // Copyright 2009-2020 Intel Corporation
2 // SPDX-License-Identifier: Apache-2.0
3 
4 #include "Geometry.h"
5 
6 namespace ospray {
7   namespace sg {
8 
9   struct OSPSG_INTERFACE Spheres : public Geometry
10   {
11     Spheres();
12     virtual ~Spheres() override = default;
13   };
14 
15   OSP_REGISTER_SG_NODE_NAME(Spheres, geometry_spheres);
16 
17   // Spheres definitions //////////////////////////////////////////////////////
18 
Spheres()19   Spheres::Spheres() : Geometry("sphere")
20   {
21     createChild("radius", "float", 1.f);
22   }
23 
24   }  // namespace sg
25 } // namespace ospray
26