| 105 | |
| 106 | template <class T, class Rand> |
| 107 | static PyImath::FixedArray<IMATH_NAMESPACE::Vec3<T> > |
| 108 | solidSphereRand(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 | |
| 118 | PYIMATH_EXPORT |
| 119 | class_<IMATH_NAMESPACE::Rand32> |
nothing calls this directly
no outgoing calls
no test coverage detected