Skip to content

Commit a530dfb

Browse files
committed
添加了加载显示静态模型的mesh类
1 parent 9bbbf5d commit a530dfb

File tree

136 files changed

+500095
-442
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

136 files changed

+500095
-442
lines changed

Camera.VC.db

0 Bytes
Binary file not shown.

Camera.vcxproj

+3
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@
9393
</CustomBuild>
9494
<None Include="FX\color.fx" />
9595
<None Include="FX\LightHelper.fx" />
96+
<None Include="FX\staticMesh.fx" />
9697
</ItemGroup>
9798
<ItemGroup>
9899
<ClCompile Include="..\..\Common\Camera.cpp" />
@@ -106,6 +107,7 @@
106107
<ClCompile Include="CameraDemo.cpp" />
107108
<ClCompile Include="Effects.cpp" />
108109
<ClCompile Include="math_3d.cpp" />
110+
<ClCompile Include="mesh.cpp" />
109111
<ClCompile Include="RenderStates.cpp" />
110112
<ClCompile Include="skinnedmesh.cpp" />
111113
<ClCompile Include="Vertex.cpp" />
@@ -121,6 +123,7 @@
121123
<ClInclude Include="..\..\Common\MathHelper.h" />
122124
<ClInclude Include="..\..\Common\Waves.h" />
123125
<ClInclude Include="Effects.h" />
126+
<ClInclude Include="mesh.h" />
124127
<ClInclude Include="ogldev_math_3d.h" />
125128
<ClInclude Include="RenderStates.h" />
126129
<ClInclude Include="skinnedmesh.h" />

Camera.vcxproj.filters

+9
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@
2727
<None Include="FX\color.fx">
2828
<Filter>FX</Filter>
2929
</None>
30+
<None Include="FX\staticMesh.fx">
31+
<Filter>FX</Filter>
32+
</None>
3033
</ItemGroup>
3134
<ItemGroup>
3235
<ClCompile Include="..\..\Common\d3dApp.cpp">
@@ -71,6 +74,9 @@
7174
<ClCompile Include="skinnedmesh.cpp">
7275
<Filter>Source Files</Filter>
7376
</ClCompile>
77+
<ClCompile Include="mesh.cpp">
78+
<Filter>Source Files</Filter>
79+
</ClCompile>
7480
</ItemGroup>
7581
<ItemGroup>
7682
<ClInclude Include="..\..\Common\d3dApp.h">
@@ -121,6 +127,9 @@
121127
<ClInclude Include="StringComparison.h">
122128
<Filter>Header Files</Filter>
123129
</ClInclude>
130+
<ClInclude Include="mesh.h">
131+
<Filter>Header Files</Filter>
132+
</ClInclude>
124133
</ItemGroup>
125134
<ItemGroup>
126135
<CustomBuild Include="FX\Basic.fx">

0 commit comments

Comments
 (0)