cpml-demo: use cpml_curve_put_offset_at_time() for rays
cpml-demo: use cpml_curve_put_offset_at_time() for rays

In addition to simplify the code, this will also allow visual debugging
of that function.

ntd/adg,ntd/adg