aruslan: (Default)
[personal profile] aruslan

http://blogs.msdn.com/xna/archive/2006/08/25/724607.aspx

Math

Our Math API provides the types often used for game programming such as Vector2, Vector3, Vector4, Matrix, Plane, and Ray.  We also include bounding volume types including BoundingBox, BoundingSphere and BoundingFrustum. Our bounding volume types include methods for doing intersection and containment tests.  One thing to note is that our math libraries are right-handed by default. What I mean by that is on our Matrix, for example, we provide a CreateLookAt method, which provides a right-handed view matrix instead of offering a CreateLookAtLH and a CreateLookAtRHThe reason we’ve decided on going with this is to ease integration in both content and middleware components.  If everyone can agree on the coordinate system, then it makes it much easier to use content or APIs from outside of the XNA Framework.  I say “by default” because there is nothing that requires a right-handed system. So if you absolutely need to be left-handed (or something else) you can do so, you’ll just need to do some of the calculations yourself.

Коллеги из Microsoft как-то неправильно (читай - не посоветовавшись с дядей Димой) назвали вектора, матрицы, плоскости, лучи и ббоксы.  Впрочем, я надеюсь, что скоро кое-кто из наших проделает с ними необходимую разъяснительную работу.
Но несомненно другое.

Как и следовало ожидать, Единственно Правильной Координатной СистемойTM советского геймдева будет Правая Координатная Система (как в OpenGL), а вовсе не какая-то левая "Левая" (как у Шодана).

Ура, товарищи!

Точное направление осей, впрочем, пока неизвестно. 
Оставайтесь с нами.

Date: Aug. 26th, 2006 09:12 (UTC)
From: [identity profile] cyberzx.livejournal.com
Правая система используется в OpenGL, а к нему я нежно отношусь. Это ведь как первая любовь... :)

Date: Aug. 26th, 2006 09:15 (UTC)
From: [identity profile] cyberzx.livejournal.com
я романтик, да :(

Date: Aug. 26th, 2006 09:22 (UTC)
From: [identity profile] aruslan.livejournal.com
Вот я знал, я знал, Сайба!
Поэтому и поставил в скобочках "(как в OpenGL)"! ;)

А сентиментальность и рефлексия - это иногда хорошо.
Если в разумных дозах.
И если не противоречит линии партии и правительства!

Profile

aruslan: (Default)
aruslan

January 2014

S M T W T F S
   1234
56789 1011
12131415161718
19202122232425
262728293031 

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jan. 17th, 2026 08:49
Powered by Dreamwidth Studios