GetCentroid

Syntax

//   Visual Studio for Windows
public:
double __declspec(dllexport) __stdcall GetCentroid(
            __int64        owlInstance,
            void           * vertices,
            void           * indices,
            double         * centroid
        );

//   Linux, OS-X and non-Visual Studio Windows solutions
public:
double GetCentroid(
            int64_t        owlInstance,
            void           * vertices,
            void           * indices,
            double         * centroid
        );    

Property owlInstance

Size: 64 bit / 8 byte (value)
...

Property vertices

Size: 64 bit / 8 byte (reference)
...

Property indices

Size: 64 bit / 8 byte (reference)
...

Property centroid

Size: 64 bit / 8 byte (reference)
...