Wed, 08 Feb 2017 16:45:32 +0200 |
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
|
Wed, 08 Feb 2017 16:38:59 +0200 |
Teemu Piippo |
GLRenderer::clampAngle is no longer used as of the previous commit so we can do away with it.
|
changeset |
files
|
Wed, 08 Feb 2017 16:25:06 +0200 |
Teemu Piippo |
Switched from euler angle rotation to matrix rotation. Gimbal lock is now broken.
|
changeset |
files
|
Sat, 04 Feb 2017 14:44:39 +0200 |
Teemu Piippo |
Wrote documentation to the Model class.
|
changeset |
files
|
Sat, 04 Feb 2017 14:24:16 +0200 |
Teemu Piippo |
The current document pointer may no longer be null.
|
changeset |
files
|
Fri, 03 Feb 2017 10:51:08 +0200 |
Teemu Piippo |
minor amendment
|
changeset |
files
|
Fri, 03 Feb 2017 10:44:23 +0200 |
Teemu Piippo |
Reworked and cleaned up the circle mode
|
changeset |
files
|
Mon, 30 Jan 2017 14:30:55 +0200 |
Teemu Piippo |
Some code cleanup in abstract editing modes.
|
changeset |
files
|
Mon, 30 Jan 2017 02:41:45 +0200 |
Teemu Piippo |
Removed some unnecessary #include-directives.
|
changeset |
files
|
Mon, 30 Jan 2017 02:33:17 +0200 |
Teemu Piippo |
Removed the status bar, since it's not used for anything
|
changeset |
files
|
Mon, 30 Jan 2017 02:30:26 +0200 |
Teemu Piippo |
Split object list representation into virtual methods
|
changeset |
files
|
Mon, 30 Jan 2017 02:18:42 +0200 |
Teemu Piippo |
Removed LDDocument::getObjectCount (superceded by Model::size)
|
changeset |
files
|
Mon, 30 Jan 2017 00:59:06 +0200 |
Teemu Piippo |
The "all objects have valid models" invariant seems to be holding up now. At least basic drawing works again.
|
changeset |
files
|
Sun, 29 Jan 2017 21:17:43 +0200 |
Teemu Piippo |
Made all LDObject constructors protected. Emplacement is now the only way to create objects.
|
changeset |
files
|
Sun, 29 Jan 2017 21:07:15 +0200 |
Teemu Piippo |
Removed the LDSpawn function and replaced its last use cases.
|
changeset |
files
|
Sun, 29 Jan 2017 21:02:11 +0200 |
Teemu Piippo |
More rework on model stuff, removals of LDSpawn calls. Most importantly, the LDraw code parsing function was moved to Model.
|
changeset |
files
|
Sun, 29 Jan 2017 15:49:36 +0200 |
Teemu Piippo |
Removed uses of LDSpawn in the algorithm toolset
|
changeset |
files
|
Sun, 29 Jan 2017 15:39:35 +0200 |
Teemu Piippo |
Replaced uses of LDSpawn with the Model class in edit modes
|
changeset |
files
|
Sun, 29 Jan 2017 15:28:48 +0200 |
Teemu Piippo |
Removed dead code that's standing in the way of refactoring
|
changeset |
files
|
Sun, 29 Jan 2017 15:25:26 +0200 |
Teemu Piippo |
Removed the AddObjectDialog. Garbage code that absolutely needs to be reimplemented.
|
changeset |
files
|
Sun, 29 Jan 2017 15:18:40 +0200 |
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
|
Sun, 29 Jan 2017 15:05:14 +0200 |
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
|
Sat, 28 Jan 2017 17:47:06 +0200 |
Teemu Piippo |
Happy new year 2017!
|
changeset |
files
|
Sat, 28 Jan 2017 17:45:00 +0200 |
Teemu Piippo |
Matrices are now input with 9 spinboxes instead of a MLCad-style line edit
|
changeset |
files
|
Sat, 28 Jan 2017 17:23:04 +0200 |
Teemu Piippo |
Moved the identity matrix constant into Matrix's namespace
|
changeset |
files
|
Sat, 28 Jan 2017 17:20:16 +0200 |
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
|
Sat, 28 Jan 2017 17:14:05 +0200 |
Teemu Piippo |
Reworked the Matrix interface so that less index math is involved
|
changeset |
files
|
Sat, 28 Jan 2017 16:30:27 +0200 |
Teemu Piippo |
Fixed formatFileSize
|
changeset |
files
|
Sat, 28 Jan 2017 14:33:09 +0200 |
Teemu Piippo |
Refactor roundToDecimals and formatFileSize
|
changeset |
files
|
Sat, 28 Jan 2017 14:14:28 +0200 |
Teemu Piippo |
Actually, let's call it countof(). Makes more sense.
|
changeset |
files
|
Sat, 28 Jan 2017 14:13:01 +0200 |
Teemu Piippo |
Replaced '.length()' with 'length()' where appropriate
|
changeset |
files
|
Sat, 28 Jan 2017 14:01:19 +0200 |
Teemu Piippo |
Replaced uses of 'x.size()' with 'length(x)'
|
changeset |
files
|