|
Boost : |
Subject: Re: [boost] [gsoc-2013] Physics Library Abstraction Layer
From: Michael Marcin (mike.marcin_at_[hidden])
Date: 2013-05-04 01:13:34
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 );
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk