Commit Graph

20 Commits

Author SHA1 Message Date
Markus Reitböck
cfe0d9ffac Surface: use CMake to generate precompiled headers on all platforms
"Professional CMake" book suggest the following:

"Targets should build successfully with or without compiler support for precompiled headers. It
 should be considered an optimization, not a requirement. In particular, do not explicitly include a
 precompile header (e.g. stdafx.h) in the source code, let CMake force-include an automatically
 generated precompile header on the compiler command line instead. This is more portable across
 the major compilers and is likely to be easier to maintain. It will also avoid warnings being
 generated from certain code checking tools like iwyu (include what you use)."

Therefore, removed the "#include <PreCompiled.h>" from sources, also
there is no need for the "#ifdef _PreComp_" anymore
2025-09-23 22:39:36 +02:00
Benjamin Nauck
3462c165d8 Surface: Add #include <limits> where used 2025-03-31 23:52:55 +02:00
Benjamin Nauck
f5244d404c Surface: Use std::numeric_limits and std::numbers instead of defines 2025-03-29 13:32:39 +01:00
Florian Foinant-Willig
6fb3984322 Surface: modernize type checking 2023-10-23 18:08:22 +02:00
wmayer
4919fa18ff Surface: apply clang format 2023-09-04 07:21:32 -05:00
wmayer
6bdff0f477 Surface: modernize C++: use default member init 2023-08-23 00:55:03 +02:00
wmayer
fecc939611 Surface: modernize C++: use equals default 2023-08-22 11:16:10 +02:00
Uwe
3b1580136b [Surface] App:: remove unused includes
- also some sorting
2022-12-08 00:34:08 +01:00
berniev
da9ebc572f Mod: redundant void 2 2022-08-08 10:27:50 +02:00
andrea
93525ff7eb removed references to OCC<7 2022-06-25 14:29:24 +02:00
wmayer
f19ab55b48 Surface: modernize C++11
* use nullptr
2022-03-23 19:26:14 +01:00
luz paz
d84071275a Surface: Fix header uniformity, whitespace, and doxygen header 2020-11-19 13:41:43 +01:00
wmayer
9f84186c16 Surface: replace std::mutex with a boolean to avoid extra overhead 2020-07-03 16:08:02 +02:00
wmayer
74ad645600 Surface: optimize Extend::onChanged 2020-07-03 16:08:02 +02:00
wmayer
c77828eac6 Surface: remove superfluous function call 2020-07-03 16:08:01 +02:00
wmayer
a9440d5c37 Surface: in Extend::onChanged call the function of its direct parent class Part::Spline 2020-07-03 16:08:01 +02:00
wmayer
6e5bd7bee0 Surface: handle old project files using Extend feature 2020-07-03 16:08:01 +02:00
MA-LAPTOP\apeltauer
88fb2fbc37 adding 4 spaces instead of 2 spaces 2020-07-03 16:08:01 +02:00
MA-LAPTOP\apeltauer
5667ff1df3 Add the possibility to set the uv values for all four sides indepented.
Extending the face symetric is the default behaviour.
2020-07-03 16:08:01 +02:00
wmayer
011eed3a64 add feature to extend given surface 2017-12-19 13:23:39 +01:00