139 Commits

Author SHA1 Message Date
Josh Holtrop
891b5f6dca fix scope errors 2011-03-29 19:20:51 -04:00
Josh Holtrop
fcffa9c760 make C square 2011-03-29 19:16:24 -04:00
Josh Holtrop
6fae3f220d import linalg module 2011-03-29 18:07:11 -04:00
Josh Holtrop
b8314f290c use zeros() instead of explicitly zeroing 2011-03-29 17:15:51 -04:00
Josh Holtrop
0e98ea5cb5 add XDistance constraint to test Sketch 2011-03-29 17:11:00 -04:00
Josh Holtrop
c6b5d09669 Sketch.solve(): explicitly initialize vars to 0.0 2011-03-29 17:10:12 -04:00
Josh Holtrop
bf46f9ec4b fix a couple issues 2011-03-29 14:30:33 -04:00
Josh Holtrop
7ddae3ae7b finish your thought there buddy 2011-03-29 14:29:44 -04:00
Josh Holtrop
e32f380e80 incorrect class names 2011-03-29 14:28:40 -04:00
Josh Holtrop
a81c0d5a7d syntax errors 2011-03-29 14:28:05 -04:00
Josh Holtrop
4826861967 update test sketch 2011-03-29 14:21:41 -04:00
Josh Holtrop
c12f7e8f5b only support two line points for now 2011-03-29 14:19:59 -04:00
Josh Holtrop
ad8d1ca915 fix solve() logic error 2011-03-29 14:19:20 -04:00
Josh Holtrop
cd2954a1b8 logic error 2011-03-29 14:16:32 -04:00
Josh Holtrop
da9296bc76 fix a few errors 2011-03-29 14:15:57 -04:00
Josh Holtrop
7126cb701b syntax error 2011-03-29 14:13:51 -04:00
Josh Holtrop
8901c23af7 SketchWidget: render basic lines and circles 2011-03-29 14:06:18 -04:00
Josh Holtrop
9e3ca181c7 import parent class 2011-03-29 13:20:38 -04:00
Josh Holtrop
fcc5a29855 import parent class 2011-03-29 13:20:20 -04:00
Josh Holtrop
55a96bbc3f propagate solved variables back to shapes 2011-03-28 18:59:56 -04:00
Josh Holtrop
094e4edd9f added Shape.setVar() 2011-03-28 18:58:16 -04:00
Josh Holtrop
7858a84618 add Sketch.solve(), in progress 2011-03-28 18:51:00 -04:00
Josh Holtrop
05eb8e0324 add XDistance and YDistance constraints 2011-03-28 18:33:27 -04:00
Josh Holtrop
1021ff3e59 remove Distance 2011-03-28 18:27:46 -04:00
Josh Holtrop
a95c478085 added Connect.toEqu() 2011-03-28 18:25:55 -04:00
Josh Holtrop
b0ae18f9d1 mv EqualConstraint to Equal 2011-03-28 18:18:01 -04:00
Josh Holtrop
c13fc5ad93 filled out Horizontal and Vertical toEqu() methods 2011-03-28 18:10:49 -04:00
Josh Holtrop
c8d2f9a82a update constraint types to take point indexes 2011-03-28 16:40:07 -04:00
Josh Holtrop
cc3831e235 add vars array to Line and Circle for solver 2011-03-28 16:22:25 -04:00
Josh Holtrop
4932447df9 add Horizontal and Vertical constraint classes 2011-03-28 15:37:47 -04:00
Josh Holtrop
f1282e6cb6 add Line constructor 2011-03-28 15:30:26 -04:00
Josh Holtrop
d33d9f0f1a move GL widget code to SketchWidget 2011-03-28 15:26:14 -04:00
Josh Holtrop
da1c47441e add classes for constraints 2011-03-25 15:42:12 -04:00
Josh Holtrop
36c6f092fd add Sketch, Shape, Line, Circle placeholder classes 2011-03-24 16:44:42 -04:00
Josh Holtrop
f776ba8570 set size request on Window, not DrawingArea 2011-03-24 15:26:37 -04:00
Josh Holtrop
89486e1499 creating a gtkgl DrawingArea and drawing a quad 2011-03-24 15:16:56 -04:00
Josh Holtrop
9741db038e set window title to program name 2011-03-22 13:18:36 -04:00
Josh Holtrop
6c09225b44 quit GTK when window is closed 2011-03-22 13:15:31 -04:00
Josh Holtrop
b6ae011b38 initial commit, skeleton window 2011-03-22 13:08:31 -04:00