← Back to team overview

kicad-developers team mailing list archive

Re: issue with sscanf %lf vs %f

 

On 07/26/2014 03:36 PM, Mário Luzeiro wrote:
>> Line 50 of 3d-viewer/3d_struct.h shows that the recipient data item is double.
>> Could it be somebody changed line 50 from:  double x, y, z;
> 
> yes, myself :S sorry, I've now fixed it myself.
> 
> I changed S3D_VERTEX to glm::vec3 so I can use the glm library functionalities.
> 
> Do you have in mind any other places that this can cause any issue?
> 
> Mario Luzeiro


I rarely use "float" data type, almost always "double" these days.

But I cannot answer your question since you used the pronoun "this" and I am terrible at
mapping pronouns to actual nouns.  My mind doesn't like ambiguity, too many years of
programming.


Dick





References