Created
July 16, 2015 18:48
-
-
Save hyperlogic/f9b391366f2db9a86d29 to your computer and use it in GitHub Desktop.
Visual Studio Debugger Pretty Print for glm types
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<AutoVisualizer xmlns="http://schemas.microsoft.com/vstudio/debugger/natvis/2010"> | |
<!-- Place this into your "\My Documents\Visual Studio 2012\Visualizers\" folder --> | |
<Type Name="glm::detail::tvec3<*>"> | |
<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<*>"> | |
<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::detail::tquat<*>"> | |
<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::detail::tmat4x4<*>"> | |
<DisplayString>mat4</DisplayString> | |
<Expand> | |
<Item Name="col0">value[0]</Item> | |
<Item Name="col1">value[1]</Item> | |
<Item Name="col2">value[2]</Item> | |
<Item Name="col3">value[3]</Item> | |
</Expand> | |
</Type> | |
</AutoVisualizer> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment