microsoft / OpenXR-MixedReality

OpenXR samples and preview headers for HoloLens and Windows Mixed Reality developers familiar with Visual Studio
https://aka.ms/openxr
MIT License
336 stars 96 forks source link

Simpler inverse for view matrix #11

Closed xrmonitors closed 5 years ago

xrmonitors commented 5 years ago

https://github.com/microsoft/OpenXR-SDK-VisualStudio/blob/9336599e922eaf03f4fad928ba122275a3b677d9/samples/BasicXrApp/CubeGraphics.cpp#L382

This should probably be LoadInvertedXrPose() so it's not inverting a matrix

yl-msft commented 5 years ago

Good suggestion. Fixed in recent changes.