SlimDX/slimdx

Improvements for sample framework's Camera class

Closed this issue · 2 comments

I made some improvements to the sample framework's Camera class:

1. The class now takes an Up vector via a property, since assuming the up
vector to be +Y causes cameras looking straight along the Y axis to display
absolutely nothing at all. Frustrated the heck out of me trying to find
that one! ;)

2. The view and projection matrices and their associated "dirty" flags are
now protected instead of private, allowing for subclasses of Camera to
actually do useful things when overriding the rebuild methods. :)

Original issue reported on code.google.com by edko...@gmail.com on 4 May 2009 at 11:55

Attachments:

Accepted.

Original comment by Mike.Popoloski on 5 May 2009 at 4:27

  • Changed state: Accepted
Fixed in r1095.

Original comment by Mike.Popoloski on 7 May 2009 at 7:03

  • Changed state: Fixed