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

Function solidSphereRand

src/python/PyImath/PyImathRandom.cpp:107–116  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

105
106template <class T, class Rand>
107static PyImath::FixedArray<IMATH_NAMESPACE::Vec3<T> >
108solidSphereRand(Rand &rand, int num)
109{
110 MATH_EXC_ON;
111 PyImath::FixedArray<IMATH_NAMESPACE::Vec3<T> > retval(num);
112 for (int i=0; i<num; ++i) {
113 retval[i] = IMATH_NAMESPACE::solidSphereRand<IMATH_NAMESPACE::Vec3<T>,Rand>(rand);
114 }
115 return retval;
116}
117
118PYIMATH_EXPORT
119class_<IMATH_NAMESPACE::Rand32>

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected