MCPcopy Create free account
hub / github.com/AcademySoftwareFoundation/Imath / hollowSphereRand

Function hollowSphereRand

src/python/PyImath/PyImathRandom.cpp:95–104  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

93
94template <class T, class Rand>
95static PyImath::FixedArray<IMATH_NAMESPACE::Vec3<T> >
96hollowSphereRand(Rand &rand, int num)
97{
98 MATH_EXC_ON;
99 PyImath::FixedArray<IMATH_NAMESPACE::Vec3<T> > retval(num);
100 for (int i=0; i<num; ++i) {
101 retval[i] = IMATH_NAMESPACE::hollowSphereRand<IMATH_NAMESPACE::Vec3<T>,Rand>(rand);
102 }
103 return retval;
104}
105
106template <class T, class Rand>
107static PyImath::FixedArray<IMATH_NAMESPACE::Vec3<T> >

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected