directX math wrap now passes params by reference