Commit Graph

27 Commits

Author SHA1 Message Date
codeanticode
61334d46eb corrected ortho() params in P2D 2014-03-04 16:32:00 -05:00
codeanticode
f2c730b58f continues the removal of static references 2014-01-20 12:14:35 -05:00
codeanticode
4331296e1d same changes related to #2259 2014-01-05 13:38:24 -05:00
codeanticode
a9f27d13de trying to fix regression introduced in camera setup in P2D (issue #2259) 2013-12-11 23:00:04 -05:00
codeanticode
09de1306e5 filter shaders don't need to use the texture uniform, fixes #2204 2013-11-06 09:00:20 -05:00
codeanticode
dbc9b78804 slightly different ortho() setup in P2D allows for identity modelview 2013-10-03 15:02:05 -04:00
codeanticode
c34696353d fixed handling of rect parametrers in PShape 2013-09-03 15:12:39 -04:00
codeanticode
7fd1455061 fix #1990 2013-09-03 14:40:34 -04:00
codeanticode
bb518933b0 PShapeOpenGL uses close field from parent PShape, this takes care of
#2035
2013-09-03 11:51:04 -04:00
codeanticode
5a3d15da5d divide width and height by 2f to properly take into account resolutions
that are not divisible by 2
2013-08-20 16:44:49 -04:00
Ben Fry
c7702c9b61 more API cleanups for consistency 2013-04-28 14:17:29 -04:00
codeanticode
b52563aed2 added mode to primitive PShape of type ARC 2013-02-16 19:32:01 -05:00
codeanticode
a1f88f02b5 doesn't need to set hint[ENABLE_STROKE_PERSPECTIVE] to false, it is by
default
2013-02-13 10:20:28 -05:00
codeanticode
a4a0369e90 PShape API updates 2012-12-30 22:50:23 +00:00
benfry
c31c40000e work on wrapping up XML changes 2012-12-16 19:31:09 +00:00
codeanticode
f49e889773 using processing Y-axis orientation for ortho() and frustum(), centering ortho() at top left corner. 2012-11-30 02:41:23 +00:00
codeanticode
525b16a6a2 added shift in ortho() so the default 2D projection is ortho(0, width, height, 0,...), as with glOrtho() 2012-11-30 02:05:41 +00:00
codeanticode
0095867c1c Fixes axis-orientation inconsistency in ortho() and fustrum() (issue #1240) 2012-11-30 01:34:26 +00:00
codeanticode
ebf861adef OBJ-loading code moved into PShapeOBJ, removed PShape2D and PShap3D 2012-09-03 22:21:49 +00:00
codeanticode
a0bdd0d44b corrected warning message for stroke perspective in 2D 2012-09-01 22:04:59 +00:00
benfry
232390c02c move PConstants around a bit, add annotations for overrides, cleaning up unapproved PShape additions 2012-09-01 18:05:24 +00:00
benfry
b61f3c26b6 add annotations for overrides... starting cleanup of shape 2012-09-01 09:26:38 +00:00
codeanticode
20410b4746 More code formatting 2012-08-31 16:18:25 +00:00
codeanticode
261018afcc Renamed stroke perspective hint 2012-08-31 13:35:36 +00:00
codeanticode
2acd81befe perspective correction can be disabled/enabled for points 2012-08-30 21:32:57 +00:00
benfry
53dff0de63 several XML fixes 2012-07-28 19:30:43 +00:00
benfry
b30328bb66 moving opengl into the core 2012-07-20 20:18:20 +00:00