mirror of
https://github.com/g-truc/glm.git
synced 2024-11-17 07:14:36 +00:00
66 lines
1.7 KiB
XML
66 lines
1.7 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<!-- 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::vec<1,*>">
|
|
<DisplayString>{x}</DisplayString>
|
|
<Expand>
|
|
<Item Name="x">x</Item>
|
|
</Expand>
|
|
</Type>
|
|
|
|
<Type Name="glm::vec<2,*>">
|
|
<DisplayString>{x}, {y}</DisplayString>
|
|
<Expand>
|
|
<Item Name="x">x</Item>
|
|
<Item Name="y">y</Item>
|
|
</Expand>
|
|
</Type>
|
|
|
|
<Type Name="glm::vec<3,*>">
|
|
<DisplayString>{x}, {y}, {z}</DisplayString>
|
|
<Expand>
|
|
<Item Name="x">x</Item>
|
|
<Item Name="y">y</Item>
|
|
<Item Name="z">z</Item>
|
|
</Expand>
|
|
</Type>
|
|
|
|
<Type Name="glm::vec<4,*>">
|
|
<DisplayString>{x}, {y}, {z}, {w}</DisplayString>
|
|
<Expand>
|
|
<Item Name="x">x</Item>
|
|
<Item Name="y">y</Item>
|
|
<Item Name="z">z</Item>
|
|
<Item Name="w">w</Item>
|
|
</Expand>
|
|
</Type>
|
|
|
|
<Type Name="glm::qua<*>">
|
|
<DisplayString>{x}, {y}, {z}, {w}</DisplayString>
|
|
<Expand>
|
|
<Item Name="x">x</Item>
|
|
<Item Name="y">y</Item>
|
|
<Item Name="z">z</Item>
|
|
<Item Name="w">w</Item>
|
|
</Expand>
|
|
</Type>
|
|
|
|
<Type Name="glm::tdualquat<*>">
|
|
<DisplayString>(({real.x}, {real.y}, {real.z}), {real.w}), (({dual.x}, {dual.y}, {dual.z}), {dual.w})</DisplayString>
|
|
<Expand>
|
|
<Item Name="real">real</Item>
|
|
<Item Name="dual">dual</Item>
|
|
</Expand>
|
|
</Type>
|
|
|
|
</AutoVisualizer>
|
|
|