From 9f784e81f81651bed087902f9f3afee113e56148 Mon Sep 17 00:00:00 2001 From: Piotr Dziwinski Date: Tue, 19 Jun 2012 20:11:47 +0200 Subject: Switched to new implementation of the rest of math module - changed structs from D3DVECTOR to Math::Vector and from D3DMATRIX to Math::Matrix - changed functions to new Math namespace functions - moved mainmovie module from graphics to object - added Get and Set to Math::Matrix --- src/common/modfile.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/common/modfile.h') diff --git a/src/common/modfile.h b/src/common/modfile.h index 8095a91..fb85118 100644 --- a/src/common/modfile.h +++ b/src/common/modfile.h @@ -19,6 +19,7 @@ #pragma once +#include "math/vector.h" #include "graphics/d3d/d3dengine.h" @@ -98,10 +99,10 @@ public: int RetTriangleMax(); ModelTriangle* RetTriangleList(); - float RetHeight(D3DVECTOR pos); + float RetHeight(Math::Vector pos); protected: - bool CreateTriangle(D3DVECTOR p1, D3DVECTOR p2, D3DVECTOR p3, float min, float max); + bool CreateTriangle(Math::Vector p1, Math::Vector p2, Math::Vector p3, float min, float max); protected: CInstanceManager* m_iMan; -- cgit v1.2.3-1-g7c22