diff options
author | 2016-05-05 15:07:31 +0200 | |
---|---|---|
committer | 2016-05-05 15:07:31 +0200 | |
commit | 07b2912508d51b99de950e67dd7cfc48800dc0c3 (patch) | |
tree | 8ba01e9707cd16763a89468dc7f0c96c15af24d6 /3rdparty/glm/util/glm.natvis | |
parent | 18014a8da55d96e4e92ebbff65dae5863e313225 (diff) |
Added GLM library (nw)
Diffstat (limited to '3rdparty/glm/util/glm.natvis')
-rw-r--r-- | 3rdparty/glm/util/glm.natvis | 69 |
1 files changed, 69 insertions, 0 deletions
diff --git a/3rdparty/glm/util/glm.natvis b/3rdparty/glm/util/glm.natvis new file mode 100644 index 00000000000..d13bf30e2d5 --- /dev/null +++ b/3rdparty/glm/util/glm.natvis @@ -0,0 +1,69 @@ +<?xml version="1.0" encoding="utf-8"?> + +<!-- GLM visualizers for Visual Studio 2012 --> +<!-- Put them into My Documents/Visual Studio 2012/Visualizers/ --> + +<AutoVisualizer xmlns="http://schemas.microsoft.com/vstudio/debugger/natvis/2010"> + <Type Name="glm::tvec1<*>"> + <DisplayString>{x}</DisplayString> + <Expand> + <Item Name="x">x</Item> + </Expand> + </Type> + + <Type Name="glm::tvec2<*>"> + <DisplayString>{x}, {y}</DisplayString> + <Expand> + <Item Name="x">x</Item> + <Item Name="y">y</Item> + </Expand> + </Type> + + <Type Name="glm::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::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::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> + <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> + |