You are creating a Windows Presentation Foundation application by using Microsoft .NET Framework 3.5.
You write the following code fragment.
(Line numbers are included for reference only.)
01 <Viewport3D>
02 <Viewport3D.Resources>
03
04 <DiffuseMaterial x:Key="Material" Brush="Black" />
05 <GeometryModel3D x:Key="GeometryModel" Geometry="{StaticResource Mesh}" Material="{StaticResource 07 Material}" />
06 </Viewport3D.Resources>
07 <ModelVisual3D Content="{StaticResource GeometryModel}" />
08 </Viewport3D>
You need to display a triangle
Which code fragment should you insert at line 03?
A.
<MeshGeometry3D x:Key="Mesh" Positions="-1 0 5, 1 0 -5, 0 1 5, 5 -1 -1" />
B.
<MeshGeometry3D x:Key="Mesh" Positions="-5 0 1, -5 0 -1, -5 1 1" />
C.
<MeshGeometry3D x:Key="Mesh" Positions="-5 0 1, -5 0 -1, -5 1 1, -5 -1 1" />
D.
<MeshGeometry3D x:Key="Mesh" Positions="-1 0 -5, 1 0 -5, 0 1 -5" />