mirror of https://github.com/vitalif/openscad
Use namespace instead of class method
parent
11ab95385f
commit
3e464d01a7
|
@ -1,9 +1,8 @@
|
|||
#ifndef CALC_H_
|
||||
#define CALC_H_
|
||||
|
||||
class Calc {
|
||||
public:
|
||||
static int get_fragments_from_r(double r, double fn, double fs, double fa);
|
||||
};
|
||||
namespace Calc {
|
||||
int get_fragments_from_r(double r, double fn, double fs, double fa);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue