Hi Greg,<br><br>I don't think anyone has implemented an instance for static transformations of dynamic geometry. Ought to be easy, though. Also dynamic transformation of static geometry and dynamic transformation of dynamic geometry. And the corresponding three additional instances for 2D geometry. All six would be very useful.<br>
<br>So I don't forget, would you please submit a ticket to either <a href="http://trac.haskell.org/reactive">http://trac.haskell.org/reactive</a> or <a href="http://trac.haskell.org/FieldTrip">http://trac.haskell.org/FieldTrip</a> ?<br>
<br>You might also enjoy adding these instances yourself. Patches are very welcome.<br><br>Thanks, - Conal<br><br><div class="gmail_quote">On Mon, Nov 24, 2008 at 10:27 AM, Greg Fitzgerald <span dir="ltr"><<a href="mailto:garious@gmail.com">garious@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Should it be possible to write this:<br>
<br>
spinningTorusPair :: Double -> Behavior Geometry3<br>
spinningTorusPair sz = uscale3 sz *% spinningG torusPair<br>
<br>
Instead of this:<br>
<br>
spinningTorusPair :: Double -> Behavior Geometry3<br>
spinningTorusPair sz = (uscale3 sz *%) <$> spinningG torusPair<br>
<br>
<br>
That is, should a Behavior of something transformable be an instance<br>
of Transform as well? Has anyone tried to implement this instance?<br>
<br>
Thanks,<br>
Greg<br>
_______________________________________________<br>
Reactive mailing list<br>
<a href="mailto:Reactive@haskell.org">Reactive@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/reactive" target="_blank">http://www.haskell.org/mailman/listinfo/reactive</a><br>
</blockquote></div><br>