Added debbugger visualizers for Visual Studio 2012.

Signed-off-by: Jonathan Lima <greenboxal@gmail.com>
This commit is contained in:
Jonathan Lima 2012-10-05 11:56:50 -03:00
parent c588e9fa1e
commit 7d9c22094c

29
util/glm.natvis Normal file
View File

@ -0,0 +1,29 @@
<!-- GLM visualizers for Visual Studio 2012 -->
<!-- Put them into My Documents/Visual Studio 2012/Visualizers/ -->
<?xml version="1.0" encoding="utf-8"?>
<AutoVisualizer xmlns="http://schemas.microsoft.com/vstudio/debugger/natvis/2010">
<Type Name="glm::detail::tvec2&lt;*&gt;">
<DisplayString>({x}, {y})</DisplayString>
<Expand>
<Item Name="x">x</Item>
<Item Name="y">y</Item>
</Expand>
</Type>
<Type Name="glm::detail::tvec3&lt;*&gt;">
<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::detail::tvec4&lt;*&gt;">
<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>
</AutoVisualizer>