PySoy: Box Size
completed by: Matt Habel
mentors: Amaury Medeiros, Arc Riley, Tony Young, David Czech, Mayank Singh
This task depends on task PySoy: Improve Box.material being completed first.
Currently a Box is invisible (size 0,0,0) until its given a size after
creation with box.size = soy.atoms.Size((1,1,1))
.
Modify the libsoy constructor to require a size, then modify PySoy's Box tp_new to accept a material and/or size, size being either a sequence of three numbers (eg, [2, 2, 4]) or a Size object. If a size is not provided a default (1.0, 1.0, 1.0) should be used.
While working on this task you should join and remain in #PySoy on Freenode to get help, feedback, and guidance from mentors and other developers. Code updates which may affect your work are also announced here as they happen.
When you've done, commit your work and post the resulting changeset url to this task.