Skip to content

Instantly share code, notes, and snippets.

@dubik
Created October 17, 2016 09:03
Show Gist options
  • Save dubik/425fd828c71ef1467ac07156d972a31e to your computer and use it in GitHub Desktop.
Save dubik/425fd828c71ef1467ac07156d972a31e to your computer and use it in GitHub Desktop.
AOS natvis
<?xml version="1.0" encoding="utf-8"?>
<AutoVisualizer xmlns="http://schemas.microsoft.com/vstudio/debugger/natvis/2010">
<Type Name="Vectormath::Aos::Vector3">
<DisplayString>({mVec128.m128_f32[0]}, {mVec128.m128_f32[1]}, {mVec128.m128_f32[2]})</DisplayString>
<Expand>
<Item Name="[x]">mVec128.m128_f32[0]</Item>
<Item Name="[y]">mVec128.m128_f32[1]</Item>
<Item Name="[z]">mVec128.m128_f32[2]</Item>
</Expand>
</Type>
<Type Name="Vectormath::Aos::Vector4">
<DisplayString>({mVec128.m128_f32[0]}, {mVec128.m128_f32[1]}, {mVec128.m128_f32[2]}, {mVec128.m128_f32[3]})</DisplayString>
<Expand>
<Item Name="[x]">mVec128.m128_f32[0]</Item>
<Item Name="[y]">mVec128.m128_f32[1]</Item>
<Item Name="[z]">mVec128.m128_f32[2]</Item>
<Item Name="[w]">mVec128.m128_f32[3]</Item>
</Expand>
</Type>
</AutoVisualizer>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment