|
|
|
@ -1,17 +1,22 @@ |
|
|
|
|
<?xml version="1.0" encoding="utf-8"?> |
|
|
|
|
|
|
|
|
|
<!-- GLM visualizers for Visual Studio 2012 --> |
|
|
|
|
<!-- Put them into My Documents/Visual Studio 2012/Visualizers/ --> |
|
|
|
|
<!-- GLM visualizers for Visual Studio --> |
|
|
|
|
<!-- Copy this file to --> |
|
|
|
|
<!-- %USERPROFILE%\Douments\Visual Studio 2019\Visualizers\ (replace '2019' when necessary) --> |
|
|
|
|
<!-- or --> |
|
|
|
|
<!-- %VSINSTALLDIR%\Common7\Packages\Debugger\Visualizers\ (requires admin access) --> |
|
|
|
|
<!-- See also https://docs.microsoft.com/en-us/visualstudio/debugger/create-custom-views-of-native-objects --> |
|
|
|
|
|
|
|
|
|
<AutoVisualizer xmlns="http://schemas.microsoft.com/vstudio/debugger/natvis/2010"> |
|
|
|
|
<Type Name="glm::tvec1<*>"> |
|
|
|
|
|
|
|
|
|
<Type Name="glm::vec<1,*>"> |
|
|
|
|
<DisplayString>{x}</DisplayString> |
|
|
|
|
<Expand> |
|
|
|
|
<Item Name="x">x</Item> |
|
|
|
|
</Expand> |
|
|
|
|
</Type> |
|
|
|
|
|
|
|
|
|
<Type Name="glm::tvec2<*>"> |
|
|
|
|
<Type Name="glm::vec<2,*>"> |
|
|
|
|
<DisplayString>{x}, {y}</DisplayString> |
|
|
|
|
<Expand> |
|
|
|
|
<Item Name="x">x</Item> |
|
|
|
@ -19,7 +24,7 @@ |
|
|
|
|
</Expand> |
|
|
|
|
</Type> |
|
|
|
|
|
|
|
|
|
<Type Name="glm::tvec3<*>"> |
|
|
|
|
<Type Name="glm::vec<3,*>"> |
|
|
|
|
<DisplayString>{x}, {y}, {z}</DisplayString> |
|
|
|
|
<Expand> |
|
|
|
|
<Item Name="x">x</Item> |
|
|
|
@ -28,7 +33,7 @@ |
|
|
|
|
</Expand> |
|
|
|
|
</Type> |
|
|
|
|
|
|
|
|
|
<Type Name="glm::tvec4<*>"> |
|
|
|
|
<Type Name="glm::vec<4,*>"> |
|
|
|
|
<DisplayString>{x}, {y}, {z}, {w}</DisplayString> |
|
|
|
|
<Expand> |
|
|
|
|
<Item Name="x">x</Item> |
|
|
|
@ -38,18 +43,8 @@ |
|
|
|
|
</Expand> |
|
|
|
|
</Type> |
|
|
|
|
|
|
|
|
|
<!--Type Name="glm::tmat4<*>"> |
|
|
|
|
<DisplayString>{value[0]}, {value[1]}, {value[2]}, {value[3]}</DisplayString> |
|
|
|
|
<Expand> |
|
|
|
|
<Item Name="[0]">value[0]</Item> |
|
|
|
|
<Item Name="[1]">value[1]</Item> |
|
|
|
|
<Item Name="[2]">value[2]</Item> |
|
|
|
|
<Item Name="[3]">value[3]</Item> |
|
|
|
|
</Expand> |
|
|
|
|
</Type--> |
|
|
|
|
|
|
|
|
|
<Type Name="glm::tquat<*>"> |
|
|
|
|
<DisplayString>({x}, {y}, {z}), {w}</DisplayString> |
|
|
|
|
<Type Name="glm::qua<*>"> |
|
|
|
|
<DisplayString>{x}, {y}, {z}, {w}</DisplayString> |
|
|
|
|
<Expand> |
|
|
|
|
<Item Name="x">x</Item> |
|
|
|
|
<Item Name="y">y</Item> |
|
|
|
@ -65,5 +60,6 @@ |
|
|
|
|
<Item Name="dual">dual</Item> |
|
|
|
|
</Expand> |
|
|
|
|
</Type> |
|
|
|
|
|
|
|
|
|
</AutoVisualizer> |
|
|
|
|
|
|
|
|
|