summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/glm/util/glm.natvis
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2016-05-05 15:07:31 +0200
committer Miodrag Milanovic <mmicko@gmail.com>2016-05-05 15:07:31 +0200
commit07b2912508d51b99de950e67dd7cfc48800dc0c3 (patch)
tree8ba01e9707cd16763a89468dc7f0c96c15af24d6 /3rdparty/glm/util/glm.natvis
parent18014a8da55d96e4e92ebbff65dae5863e313225 (diff)
Added GLM library (nw)
Diffstat (limited to '3rdparty/glm/util/glm.natvis')
-rw-r--r--3rdparty/glm/util/glm.natvis69
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&lt;*&gt;">
+ <DisplayString>{x}</DisplayString>
+ <Expand>
+ <Item Name="x">x</Item>
+ </Expand>
+ </Type>
+
+ <Type Name="glm::tvec2&lt;*&gt;">
+ <DisplayString>{x}, {y}</DisplayString>
+ <Expand>
+ <Item Name="x">x</Item>
+ <Item Name="y">y</Item>
+ </Expand>
+ </Type>
+
+ <Type Name="glm::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::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>
+
+ <!--Type Name="glm::tmat4&lt;*&gt;">
+ <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&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>
+
+ <Type Name="glm::tdualquat&lt;*&gt;">
+ <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>
+