Skip to content

Instantly share code, notes, and snippets.

Created August 24, 2015 11:39
Show Gist options
  • Save anonymous/f8ee950bb3ad57107dc4 to your computer and use it in GitHub Desktop.
Save anonymous/f8ee950bb3ad57107dc4 to your computer and use it in GitHub Desktop.
joshVR snapshot
<!-- VR X-Wing by David Bryant (dbryant@mozilla.com) -->
<scene>
<!-- X-Wing = all parts grouped together -->
<group scaleX="1.0" scaleY="1.0" scaleZ="1.0"
rotateX="0.0" rotateY="0.0" rotateZ="0.0"
translateX="0.0" translateY="0.0" translateZ="0.0">
<!-- Fuselage -->
<group>
<!-- Main body -->
<sphere translateY="1.0" scaleX="5.0" scaleZ="0.6" scaleY="0.6"/>
<!-- Rear section -->
<cube translateX="1.5" translateY="1.0" scaleX="1.7" scaleY="0.7" scaleZ="0.6"/>
<!-- Cockpit -->
<cube translateX="0.43" translateY="1.22"
rotateZ=".25"
scaleX="0.5" scaleY="0.145" scaleZ="0.4"/>
</group>
<!-- Wings -->
<group translateX="1.5" translateY="1.0">
<!-- One wing -->
<group rotateX="-0.2">
<!-- Wing panel -->
<cube scaleX="1.4" scaleY="0.02" scaleZ="5.0"/>
<!-- Laser cannon above -->
<cube translateX="0.0" translateY="0.075" translateZ="2.425"
scaleX="1.4" scaleY="0.15" scaleZ="0.15"/>
<cube translateX="-0.55" translateY="0.075" translateZ="2.425"
scaleX="2.5" scaleY="0.02" scaleZ="0.02"/>
<!-- Laser cannon below -->
<cube translateX="0.0" translateY="-0.075" translateZ="-2.425"
scaleX="1.4" scaleY="0.15" scaleZ="0.15"/>
<cube translateX="-0.55" translateY="-0.075" translateZ="-2.425"
scaleX="2.5" scaleY="0.02" scaleZ="0.02"/>
</group>
<!-- Opposite wing -->
<group rotateX="0.2">
<!-- Wing panel -->
<cube scaleX="1.4" scaleY="0.02" scaleZ="5.0"/>
<!-- Laser cannon below -->
<cube translateX="0.0" translateY="-0.075" translateZ="2.425"
scaleX="1.4" scaleY="0.15" scaleZ="0.15"/>
<cube translateX="-0.55" translateY="-0.075" translateZ="2.425"
scaleX="2.5" scaleY="0.02" scaleZ="0.02"/>
<!-- Laser cannon above -->
<cube translateX="0.0" translateY="0.075" translateZ="-2.425"
scaleX="1.4" scaleY="0.15" scaleZ="0.15"/>
<cube translateX="-0.55" translateY="0.075" translateZ="-2.425"
scaleX="2.5" scaleY="0.02" scaleZ="0.02"/>
</group>
</group>
</group>
</scene>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment