WindowsNumerics

The Partridge Family were neither partridges nor a family. Discuss.
Post Reply
albinopapa
Posts: 4373
Joined: February 28th, 2013, 3:23 am
Location: Oklahoma, United States

WindowsNumerics

Post by albinopapa » September 26th, 2017, 6:32 pm

Windows numerics
I'm going to assume most of us have made vector and matrix classes in the past, but for those that haven't or don't want to, I found this while browsing the MSDN. Don't know if it's recent or not, but this is the first time I've seen it on the website. It even has interoperability with the DirectX math library.
If you think paging some data from disk into RAM is slow, try paging it into a simian cerebrum over a pair of optical nerves. - gameprogrammingpatterns.com

MrGodin
Posts: 721
Joined: November 30th, 2013, 7:40 pm
Location: Merville, British Columbia Canada

Re: WindowsNumerics

Post by MrGodin » September 27th, 2017, 12:55 am

I can't include it in VS 2015, but works in VS 2017 #include <Windowsnumerics.h>
Curiosity killed the cat, satisfaction brought him back

albinopapa
Posts: 4373
Joined: February 28th, 2013, 3:23 am
Location: Oklahoma, United States

Re: WindowsNumerics

Post by albinopapa » September 27th, 2017, 1:31 am

Thanks for mentioning that.

I was able to include it in VS 2015
#include <WindowsNumerics.h>
If you think paging some data from disk into RAM is slow, try paging it into a simian cerebrum over a pair of optical nerves. - gameprogrammingpatterns.com

albinopapa
Posts: 4373
Joined: February 28th, 2013, 3:23 am
Location: Oklahoma, United States

Re: WindowsNumerics

Post by albinopapa » September 27th, 2017, 1:34 am

In VS 2015, which SDK do you have active? I have 10.0.14393.0 active and it seems to be ok with it. It doesn't like the 8.1 SDK though.
If you think paging some data from disk into RAM is slow, try paging it into a simian cerebrum over a pair of optical nerves. - gameprogrammingpatterns.com

MrGodin
Posts: 721
Joined: November 30th, 2013, 7:40 pm
Location: Merville, British Columbia Canada

Re: WindowsNumerics

Post by MrGodin » September 28th, 2017, 12:54 am

Yeah i have the 8.1 SDK running in VS 2015.
Curiosity killed the cat, satisfaction brought him back

Post Reply