This allows building against the same version of GLM across all targets and not deal with API changes of newer GLM versions which introduce regressions. Long term we want to migrate away from GLM and stick to a minimal self-written subset.
69 lines
1.8 KiB
XML
69 lines
1.8 KiB
XML
<?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>
|
|
|