Ühel kenal päeval (teisipäev 17 juuli 2007) kirjutas Lubos Lunak: > Hello, > > I'd like to change all floats in the code to doubles. Floating point > constants are double by default in C/C++ and I've run into ugly rounding > errors because of mixing doubles and floats. Additionally, considering > things like http://compilers.iecc.com/comparch/article/94-11-172, I think > there's really not much reason to use floats - anybody disagrees? OpenGL uses floats internally, so I'm not sure if it's a good idea. At least leave all OpenGL stuff (e.g. vertex coordinates, texcoords, etc) to be floats. Rivo _______________________________________________ Kwin mailing list Kwin@kde.org https://mail.kde.org/mailman/listinfo/kwin