Benjamin Nauck
a9c66476f8
Mesh: Use std::numeric_limits and std::numbers instead of defines
2025-03-29 13:32:38 +01:00
Joao Matos
3b05b61de2
Gui: Remove QtOpenGL.h.
2025-02-25 23:03:51 +00:00
Joao Matos
91e94ba1dd
Gui: Cleanup Qt OpenGL usings in QtOpenGL.h.
...
Previously the code defined compatiblity usings in `QtOpenGL.h` header,
which I think was added for backwards compatiblity with previous Qt
OpenGL widgets.
As far as I can tell, this is not necessary anymore, and can be cleaned
up.
2025-02-25 23:03:51 +00:00
tritao
65466d580b
Gui: Reorganize the selection files into a top Selection folder.
2025-02-03 17:56:57 +01:00
wmayer
fcea9343b3
Mesh: Fix linter warnings
2024-11-21 21:16:55 +01:00
wmayer
bd0a3122b6
Mesh: C++ core guidelines
2023-09-26 11:20:35 +02:00
wmayer
15b11bc360
Mesh: Apply clang-format
2023-09-23 14:03:11 +02:00
wmayer
e613167d8d
Mesh: modernize C++: use default member init
2023-08-23 00:55:03 +02:00
wmayer
5177007994
Mesh: modernize C++: use equals default
2023-08-21 18:39:59 +02:00
wmayer
a939f918b1
Mesh: [skip ci] restore comment
2023-04-12 13:34:46 +02:00
Andrew
bf57f49a2e
clean Mod/Mesh from #if 0
2023-03-27 11:22:21 +02:00
Uwe
10aff43462
[Mesh] Gui: So*: remove unused includes
...
- also some sorting
2022-12-04 16:38:28 +01:00
luz paz
390e09db32
Mesh: remove trailing whitespace
2022-11-14 21:37:03 -06:00
wmayer
45f534bc32
Mesh: Fix several clazy issues:
...
* Use multi-arg instead [-Wclazy-qstring-arg]
* Q_PROPERTY should have either NOTIFY or CONSTANT [-Wclazy-qproperty-without-notify]
* Using copy-ctor but class SbMatrix has a trivial copy-ctor but non trivial assign operator [-Wclazy-rule-of-two-soft]
2022-07-25 01:14:40 +02:00
Uwe
1a346722f8
[Meh] Gui: remove unnecessary Boolean comparisons
2022-06-19 18:00:46 +02:00
Chris Hennes
702238a99c
Mesh: PR6497 move return statement to new line
2022-03-29 12:36:30 -05:00
Uwe
c4f5628899
[Gui] So headers: remove unused includes
...
- also sort out some headers to be used in precompiled headers
- also move a boost header to precompiled headers
2022-03-16 02:01:32 +01:00
wmayer
853454a139
Mesh: modernize C++11
...
* remove redundant void-arg
* use nullptr
* replace deprecated headers
2022-01-26 18:05:02 +01:00
wmayer
b2f5a3bd90
[skip ci] avoid to redefine GL_GLEXT_PROTOTYPES if already defined
2020-06-12 14:07:45 +02:00
asapelkin
e951094af9
use emplace_back instead of push_back where justified
2019-11-21 14:48:09 +01:00
Zheng, Lei
079808b816
Mesh: support multiple context in OpenGLMultiBuffer
2019-11-21 14:24:55 +01:00
Zheng, Lei
4b07117a2e
Mesh: fix material leaking when using VBO
2019-11-21 12:06:23 +01:00
wmayer
5a83dc2c8f
avoid several implicit conversions, replace several old C-casts, other minor changes
2019-09-18 23:27:54 +02:00
wmayer
28b195d6e2
PVS issues:
...
consistently define copy constructor and assignment operator
remove superfluous casts
initialize member variables in constructor
avoid double assignment
2019-03-04 11:53:49 +01:00
wmayer
f474900c07
change default value of renderTriangleLimit to UINT_MAX
2018-12-20 10:49:37 +01:00
wmayer
a7094210f8
Fix scan coverity issues:
...
CID 184294: Uncaught exception
CID 183597: Unchecked return value
CID 175809: Dereference before null check
CID 175810: Logically dead code
CID 133000: Uninitialized scalar variable
CID 133001: Uninitialized scalar variable
CID 183591: Explicit null dereferenced
2018-11-13 16:47:58 +01:00
wmayer
299f68cda6
add comment about using readLockNormalCache
2018-09-03 13:16:16 +02:00
Zheng, Lei
4231194a37
GLBuffer: fix isVBOSupported()
2018-09-03 12:59:27 +02:00
Zheng, Lei
b5467b02ad
MeshGui::SoFCIndexedFaceSet: fix missing normal cache unlock
2018-09-03 12:59:13 +02:00
wmayer
afd5249563
add static function isVBOSupported to OpenGLBuffer to check for the GL_ARB_vertex_buffer_object extension
2018-08-21 10:29:55 +02:00
wmayer
a5515527e9
move OpenGLBuffer class to core system
2018-08-16 01:30:23 +02:00
wmayer
5039e4b0a7
simplifiy code in SoFCIndexedFaceSet::GLRender, fix bug in wireframe mode when panning/rotating
2018-08-15 22:24:24 +02:00
wmayer
5e63d3ded9
fix build failure on Linux
2018-08-06 10:16:18 +02:00
wmayer
e6b7bb18b9
fix macOS build failure of MeshGui
2018-08-05 22:08:46 +02:00
wmayer
48641c2b93
replace Qt's OpenGL buffer with own implementation based on Coin3d API
2018-08-03 13:07:55 +02:00
wmayer
039e972a4b
implement fast mesh rendering for Qt5 port (7x faster)
2018-07-28 11:08:03 +02:00
wmayer
394ae197fb
fix broken transparency mode of mesh objects
2017-12-19 23:24:30 +01:00
wmayer
3011fc8b2f
fix build failure on macoS when including glext.h
2017-11-08 22:58:09 +01:00
wmayer
def0b81784
changes in Mesh module:
...
+ cppcheck: fix some minor issues found by code analyzer
+ export to IDTF
+ fix for throwing exception
+ optimize mesh rendering
2017-11-08 17:56:13 +01:00
wmayer
7711d71410
replace deprecated gluPickMatrix
2017-03-06 11:18:19 +01:00
wmayer
b980cf3361
fix -Wextra in Mesh
2016-09-23 17:24:00 +02:00
Mateusz Skowroński
7d0e892d36
Qt4's qglobal.h defined TRUE and FALSE. Qt5 does not do it anymore. Replace it with true and false.
...
158f39ec78
This change is Qt4/Qt5 neutral.
2016-01-05 16:43:33 +01:00
wmayer
120ca87015
+ unify DLL export defines to namespace names
...
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5000 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-10-10 13:44:52 +00:00