Implemented CPU rendering for current ObjectTypes
authorSam Moore <[email protected]>
Mon, 16 Jun 2014 17:01:55 +0000 (01:01 +0800)
committerSam Moore <[email protected]>
Mon, 16 Jun 2014 17:01:55 +0000 (01:01 +0800)
commitcfe7da763b5d8ef4252ddb94558abb080bbd893d
treef7b07aeea4bcb4311a9ff127f671ba74310d5a8e
parentf8ef964f021d1d6da6ea46bbb1fe8f0250a5be8c
Implemented CPU rendering for current ObjectTypes

RECT_FILLED (easy), RECT_OUTLINE (ok I need to maths), CIRCLE_FILLED (oh my god how do I maths)

Screen::RenderPixels is FITH but can see the correct(ish) output in "cpu_rendering_last_frame.bmp"

TODO:
 - Fix Screen::RenderPixels
 - Fix reading a BMP from the screen (so we can do "gpu_rendering_last_frame.bmp" as well)
 - Put Beziers in
 - Implement infinite precision document format
 - Profit
src/main.cpp
src/main.h
src/objectrenderer.cpp
src/objectrenderer.h
src/screen.cpp
src/screen.h
src/view.cpp
src/view.h

UCC git Repository :: git.ucc.asn.au