Commit Graph

26 Commits

Author SHA1 Message Date
Julian Ospald 8643826810
Fix build and freeze 2019-12-05 12:19:55 +08:00
hasufell 984ed40c63
Port to diagrams >1.3
# Conflicts:
#	Algebra/Vector.hs
#	CG2.cabal
#	Graphics/Diagram/Core.hs
#	Graphics/Diagram/Gif.hs
#	Graphics/Diagram/Gtk.hs
#	Test/Vector.hs
2015-05-21 02:14:15 +02:00
hasufell 5120a44d0f
Remove almost all 'type' usage to make types more transparent 2015-01-14 18:17:35 +01:00
hasufell d0e155d7c1
PARSER: simplify 2015-01-09 04:05:04 +01:00
hasufell 3c1a34e4af
Merge VectorTypes.hs into Vector.hs 2014-12-03 21:41:00 +01:00
hasufell 73e1673c63
Restructure Algorithms subdir and module names
No subdirs in Algorithms, just the module files
2014-12-03 21:26:35 +01:00
hasufell e673fee652
Read the obj file as ByteString and pass ByteString to the Parser 2014-11-21 04:49:17 +01:00
hasufell 99e6ce929f
PARSER: fix haddock comment 2014-11-21 04:36:07 +01:00
hasufell 2be25ae27c
PARSER: use attoparsec instead of our own implementation
This also uses ByteStringS and might be faster.
2014-11-21 04:30:50 +01:00
hasufell 0b3c7d2100
ALGO: rename wrongly named RangeSearch to QuadTree 2014-11-15 14:24:24 +01:00
hasufell 75c45149d9
Rename Algorithms.RangeSearch.Core to Algorithms.RangeSearch.QuadTree 2014-11-15 00:49:44 +01:00
hasufell d5741d3839
PARSER: use 'Either' from Prelude instead of custom QuadOrOrient 2014-11-14 22:58:21 +01:00
hasufell b9c8207981
Add PathParser
This allows us to parser user input in order to traverse
the QuadTree from the Algorithms.RangeSearch module.
2014-11-14 21:23:43 +01:00
hasufell 53eac4fc5c
PARSER: extend the core by the string function 2014-11-14 21:20:40 +01:00
hasufell ddff8b1fb2
Allow drawing the polygon stuff via GUI 2014-10-25 03:15:38 +02:00
hasufell 24810e5970
Move the function 'first' from Parser to MyPrelude
It is useful and generic.
2014-10-12 01:57:20 +02:00
hasufell 6c66a7acb3 PARSER: add parser for negative doubles 2014-10-11 04:39:51 +02:00
hasufell 085b06a112
PARSER: eta reduction 2014-10-10 17:48:22 +02:00
hasufell 954b104642
Style 2014-10-10 17:40:25 +02:00
hasufell 6e4c7e47c2
Restructure modules 2014-10-10 17:40:08 +02:00
hasufell 12da4040dc
Improve overall style and indenting 2014-10-10 00:19:05 +02:00
hasufell d0e8c85a8d
PARSER: improve haddock comments 2014-10-09 17:00:03 +02:00
hasufell 9c724ec479
PARSER: improve style 2014-10-09 16:59:09 +02:00
hasufell 70665e4b29
PARSER: allow normal Integers for posDouble as well
1.0 => valid
1   => valid
2014-10-09 16:53:32 +02:00
hasufell 46377164b4
Rework vector/point typesystem
Don't rely on Data.Vector.V2 and friend anymore, but use
the types we have from Diagrams already and enhance them.
2014-10-08 16:37:38 +02:00
hasufell b7d752ae20
Restructure files, add new subsystems 2014-10-07 19:12:59 +02:00