dx11test

changeset 2:87ecd7292c23

removed the unused vec.h file
author John Tsiombikas <nuclear@member.fsf.org>
date Fri, 21 Jun 2013 09:09:09 +0300
parents ec02798ee83b
children aa1497adac80
files dx11test.vcxproj dx11test.vcxproj.filters src/main.cc src/vec.h
diffstat 4 files changed, 1 insertions(+), 34 deletions(-) [+]
line diff
     1.1 --- a/dx11test.vcxproj	Fri Jun 21 07:42:07 2013 +0300
     1.2 +++ b/dx11test.vcxproj	Fri Jun 21 09:09:09 2013 +0300
     1.3 @@ -81,9 +81,6 @@
     1.4      <ClCompile Include="src\main.cc" />
     1.5    </ItemGroup>
     1.6    <ItemGroup>
     1.7 -    <ClInclude Include="src\vec.h" />
     1.8 -  </ItemGroup>
     1.9 -  <ItemGroup>
    1.10      <None Include="shader.hlsl">
    1.11        <FileType>Document</FileType>
    1.12      </None>
     2.1 --- a/dx11test.vcxproj.filters	Fri Jun 21 07:42:07 2013 +0300
     2.2 +++ b/dx11test.vcxproj.filters	Fri Jun 21 09:09:09 2013 +0300
     2.3 @@ -20,11 +20,6 @@
     2.4      </ClCompile>
     2.5    </ItemGroup>
     2.6    <ItemGroup>
     2.7 -    <ClInclude Include="src\vec.h">
     2.8 -      <Filter>Header Files</Filter>
     2.9 -    </ClInclude>
    2.10 -  </ItemGroup>
    2.11 -  <ItemGroup>
    2.12      <None Include="shader.hlsl" />
    2.13    </ItemGroup>
    2.14  </Project>
     3.1 --- a/src/main.cc	Fri Jun 21 07:42:07 2013 +0300
     3.2 +++ b/src/main.cc	Fri Jun 21 09:09:09 2013 +0300
     3.3 @@ -4,7 +4,6 @@
     3.4  #include <stddef.h>
     3.5  #include <d3d11.h>
     3.6  #include <d3dx11.h>
     3.7 -#include "vec.h"
     3.8  
     3.9  struct Vertex {
    3.10  	float pos[3];
    3.11 @@ -339,4 +338,4 @@
    3.12  		return DefWindowProc(win, msg, wparam, lparam);
    3.13  	}
    3.14  	return 0;
    3.15 -}
    3.16 \ No newline at end of file
    3.17 +}
     4.1 --- a/src/vec.h	Fri Jun 21 07:42:07 2013 +0300
     4.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.3 @@ -1,24 +0,0 @@
     4.4 -#ifndef VEC_H_
     4.5 -#define VEC_H_
     4.6 -
     4.7 -class Vector3 {
     4.8 -public:
     4.9 -	float x, y, z;
    4.10 -
    4.11 -	Vector3();
    4.12 -	Vector3(float x, float y, float z);
    4.13 -};
    4.14 -
    4.15 -Vector3::Vector3()
    4.16 -{
    4.17 -	x = y = z = 0.0f;
    4.18 -}
    4.19 -
    4.20 -Vector3::Vector3(float x, float y, float z)
    4.21 -{
    4.22 -	this->x = x;
    4.23 -	this->y = y;
    4.24 -	this->z = z;
    4.25 -}
    4.26 -
    4.27 -#endif	// VEC_H_
    4.28 \ No newline at end of file