[gsoc-2013] Physics Library Abstraction Layer
Attached is my current proposal in PDF format, as I am a bit wary of pasting several pages worth of formatted text into an email. Well wishes, -Preston
On 5/3/2013 3:38 PM, Preston Hamlin wrote:
Attached is my current proposal in PDF format, as I am a bit wary of pasting several pages worth of formatted text into an email.
Seems reasonable although I would prefer . syntax over ->. You might consider a method chaining interface if the object have lots of configuration parameters. physics physics_a1(___); scene scene_a1(physics); sphere sphere1; sphere1.radius(___) .material(___) .velocity(___); scene.add_actor( sphere1 );
on Fri May 03 2013, Michael Marcin
On 5/3/2013 3:38 PM, Preston Hamlin wrote:
Attached is my current proposal in PDF format, as I am a bit wary of pasting several pages worth of formatted text into an email.
Seems reasonable although I would prefer . syntax over ->. You might consider a method chaining interface if the object have lots of configuration parameters.
physics physics_a1(___); scene scene_a1(physics); sphere sphere1; sphere1.radius(___) .material(___) .velocity(___); scene.add_actor( sphere1 );
<plug> Please don't ignore the availability of Boost.Parameter for this job </plug> -- Dave Abrahams
On May 4, 2013 3:21 AM, "Dave Abrahams"
<plug> Please don't ignore the availability of Boost.Parameter for this job </plug>
I would certainly look into existing utilities if they fit the bill. Since this project would oft be for somewhat mathy code, there might be a good reason to implement some libraries like multiprecision, polygon or ublas. At the moment I cannot see a good use for multi-precision, as everything I can think of is better done by the programmers themselves using that library in conjunction with this one, but that may change. Michael, from what I can tell a relatively complete avoidance of pointers is possible since many of the objects used will be adapter classes. Unfortunately the proposal is no longer editable and this design consideration cannot be stated within it. Many thanks, -Preston
participants (3)
-
Dave Abrahams
-
Michael Marcin
-
Preston Hamlin