2017-02-08 |
Teemu Piippo |
Simplified GLRenderer::convert3dTo2d. The multiplication with the modelview matrix is not necessary, it's identity all the time... with that, I think the function makes much more sense now.
|
changeset |
files
|
2017-02-08 |
Teemu Piippo |
- Use a QGenericMatrix to store the matrix, instead of a C array
|
changeset |
files
|
2017-02-08 |
Teemu Piippo |
Changed from GLdouble to GLfloat. Apparently the performance difference is greater on the GPU..? It doesn't really matter but let's be consistent.
|
changeset |
files
|
2017-02-08 |
Teemu Piippo |
GLRenderer::clampAngle is no longer used as of the previous commit so we can do away with it.
|
changeset |
files
|
2017-02-08 |
Teemu Piippo |
Switched from euler angle rotation to matrix rotation. Gimbal lock is now broken.
|
changeset |
files
|
2017-02-04 |
Teemu Piippo |
Wrote documentation to the Model class.
|
changeset |
files
|
2017-02-04 |
Teemu Piippo |
The current document pointer may no longer be null.
|
changeset |
files
|
2017-02-03 |
Teemu Piippo |
minor amendment
|
changeset |
files
|
2017-02-03 |
Teemu Piippo |
Reworked and cleaned up the circle mode
|
changeset |
files
|
2017-01-30 |
Teemu Piippo |
Some code cleanup in abstract editing modes.
|
changeset |
files
|
2017-01-30 |
Teemu Piippo |
Removed some unnecessary #include-directives.
|
changeset |
files
|
2017-01-30 |
Teemu Piippo |
Removed the status bar, since it's not used for anything
|
changeset |
files
|
2017-01-30 |
Teemu Piippo |
Split object list representation into virtual methods
|
changeset |
files
|
2017-01-30 |
Teemu Piippo |
Removed LDDocument::getObjectCount (superceded by Model::size)
|
changeset |
files
|
2017-01-29 |
Teemu Piippo |
The "all objects have valid models" invariant seems to be holding up now. At least basic drawing works again.
|
changeset |
files
|
2017-01-29 |
Teemu Piippo |
Made all LDObject constructors protected. Emplacement is now the only way to create objects.
|
changeset |
files
|
2017-01-29 |
Teemu Piippo |
Removed the LDSpawn function and replaced its last use cases.
|
changeset |
files
|
2017-01-29 |
Teemu Piippo |
More rework on model stuff, removals of LDSpawn calls. Most importantly, the LDraw code parsing function was moved to Model.
|
changeset |
files
|
2017-01-29 |
Teemu Piippo |
Removed uses of LDSpawn in the algorithm toolset
|
changeset |
files
|
2017-01-29 |
Teemu Piippo |
Replaced uses of LDSpawn with the Model class in edit modes
|
changeset |
files
|
2017-01-29 |
Teemu Piippo |
Removed dead code that's standing in the way of refactoring
|
changeset |
files
|
2017-01-29 |
Teemu Piippo |
Removed the AddObjectDialog. Garbage code that absolutely needs to be reimplemented.
|
changeset |
files
|
2017-01-29 |
Teemu Piippo |
Made the quad→triangles use emplacement. However, now it crashes because of problems in the underlying system (the LDObject constructor shouldn't do anything in regard to the model!)
|
changeset |
files
|
2017-01-29 |
Teemu Piippo |
Major overhaul of object→document relationship: added the Model class which models the object buffer. Each object is to be included in a model (an invariant that currently does not hold). A document is a subclass of a model. The LDObject is also now agnostic about selection, and the selection is now a set. A lot of things are probably broken now but it's a major step forward.
|
changeset |
files
|
2017-01-28 |
Teemu Piippo |
Happy new year 2017!
|
changeset |
files
|
2017-01-28 |
Teemu Piippo |
Matrices are now input with 9 spinboxes instead of a MLCad-style line edit
|
changeset |
files
|
2017-01-28 |
Teemu Piippo |
Moved the identity matrix constant into Matrix's namespace
|
changeset |
files
|
2017-01-28 |
Teemu Piippo |
Removed the dangerous C-array constructor from the matrix - no need for it anyway since the matrix already is an array of doubles.
|
changeset |
files
|
2017-01-28 |
Teemu Piippo |
Reworked the Matrix interface so that less index math is involved
|
changeset |
files
|
2017-01-28 |
Teemu Piippo |
Fixed formatFileSize
|
changeset |
files
|
2017-01-28 |
Teemu Piippo |
Refactor roundToDecimals and formatFileSize
|
changeset |
files
|
2017-01-28 |
Teemu Piippo |
Actually, let's call it countof(). Makes more sense.
|
changeset |
files
|
2017-01-28 |
Teemu Piippo |
Replaced '.length()' with 'length()' where appropriate
|
changeset |
files
|
2017-01-28 |
Teemu Piippo |
Replaced uses of 'x.size()' with 'length(x)'
|
changeset |
files
|
2017-01-28 |
Teemu Piippo |
refactor: added the length() function that's like Python's len()
|
changeset |
files
|
2017-01-28 |
Teemu Piippo |
refactor
|
changeset |
files
|
2016-11-19 |
Teemu Piippo |
Display error string if unable to write a crash log.
|
changeset |
files
|
2016-11-18 |
Teemu Piippo |
Made DEFINE_FLAG_ACCESS_METHODS a function macro
|
changeset |
files
|
2016-11-18 |
Teemu Piippo |
Cleaned up crash catcher, fixed missing <math.h> include
|
changeset |
files
|
2016-11-17 |
Teemu Piippo |
Fixed additive range selection not working properly.
|
changeset |
files
|
2016-11-17 |
Teemu Piippo |
Cleanup in GL renderer...
|
changeset |
files
|
2016-11-17 |
Teemu Piippo |
Cleaned up PrimitiveScanner
|
changeset |
files
|
2016-11-15 |
Teemu Piippo |
Further cleanup
|
changeset |
files
|
2016-11-15 |
Teemu Piippo |
Refactor primitives
|
changeset |
files
|
2016-11-15 |
Teemu Piippo |
Refactor FileToolset
|
changeset |
files
|
2016-11-15 |
Teemu Piippo |
Moved the about dialog into the file toolset and removed the mail button (the forums are better for this anyway)
|
changeset |
files
|
2016-11-15 |
Teemu Piippo |
Removed the 'once' macro since it's not used
|
changeset |
files
|
2016-11-15 |
Teemu Piippo |
Removed the USE_QT5 macro now that we're Qt5 only.
|
changeset |
files
|