Jump to content
Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.
Posted 30 June 2012 - 12:11 PM
Posted 30 June 2012 - 12:44 PM
Rotation.r = XMVectorSet(m_Position.x, m_Position.y, m_Position.z, 1.0f);Alternatively, you can create a translation matrix with translation == m_Position and then transform your rotation matrix by that
Edited by MJP, 30 June 2012 - 12:48 PM.
Posted 30 June 2012 - 01:15 PM
Posted 30 June 2012 - 02:04 PM
Edited by Wrath87, 30 June 2012 - 02:08 PM.
Posted 30 June 2012 - 02:23 PM
Edited by Hornsj3, 30 June 2012 - 02:23 PM.
GameDev.net™, the GameDev.net logo, and GDNet™ are trademarks of GameDev.net, LLC.