I was wondering could anyone help me with providing options for both double and float precision for a class please?
I am working with Java3D and from the API specification for Point3d and Point3f, it is my understanding that the implementation effectively duplicates the Point3f class replacing float with double where necessary. Is this because Generics cannot be used with primitive data types? Efficiency?
I am writing a Curve class and am wondering should I provide Curved and Curvef in a similar fashion. Is this the best option?