You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently we are only using f32s, but it would be good if this was generic over reals.
For example:
structSphere<N>{center:Point3<N>,radius:N,}impl<N:Float>Sphere<N>{/// Creates a `new` sphere given the location of the spheres' `center` and its' `radius`.pubfn new(center:Point3<N>,radius:N) -> Sphere{
...etc
The text was updated successfully, but these errors were encountered:
Currently we are only using
f32
s, but it would be good if this was generic over reals.For example:
The text was updated successfully, but these errors were encountered: