Heeks / heekscad-old

/!\ Obsolete repository of HeeksCAD
http://heeks.net
Other
111 stars 47 forks source link

No longer PI macro in opencascade 6.5.3 #20

Closed equinoxefr closed 12 years ago

equinoxefr commented 12 years ago

Hi,

In opencascade 6.5.3, there is no longer PI macro. You must use M_PI instead.

From changelog: Global variables Standard_PI and PI have been eliminated (use macro M_PI instead).

Regards

Pierre

equinoxefr commented 12 years ago

Here's a patch for this issue. http://pastebin.com/SYeZAKAq

ehb commented 12 years ago

Please close, this changed in commit a061504440eb986b9acc013e1f1e36a840594a13