[Mesh] Feature*: remove unused includes

- also some sorting
This commit is contained in:
Uwe
2022-11-11 13:39:28 +01:00
parent 21f47cf2ec
commit dbff8faef6
19 changed files with 61 additions and 156 deletions

View File

@@ -20,23 +20,16 @@
* *
***************************************************************************/
#include "PreCompiled.h"
#ifndef _PreComp_
#endif
#include <Base/Console.h>
#include <Base/Exception.h>
#include <Base/Interpreter.h>
#include <App/Document.h>
#include "FeatureMeshSolid.h"
#include "Mesh.h"
namespace Mesh {
const App::PropertyIntegerConstraint::Constraints intSampling = {0,INT_MAX,1};
const App::PropertyLength::Constraints floatRange = {0.0,FLT_MAX,1.0};
const App::PropertyIntegerConstraint::Constraints intSampling = {0, INT_MAX, 1};
const App::PropertyLength::Constraints floatRange = {0.0, FLT_MAX, 1.0};
}
using namespace Mesh;
@@ -46,8 +39,8 @@ PROPERTY_SOURCE(Mesh::Sphere, Mesh::Feature)
Sphere::Sphere()
{
ADD_PROPERTY(Radius ,(5.0));
ADD_PROPERTY(Sampling ,(50));
ADD_PROPERTY(Radius, (5.0));
ADD_PROPERTY(Sampling, (50));
Radius.setConstraints(&floatRange);
Sampling.setConstraints(&intSampling);
}