Cleaning up maths: part 1.

Vector3 inherited from vector2.
This commit is contained in:
Muzychenko Andrey committed 2022-05-11 16:42:45 +03:00
1 parent 3f7526ba12
commit d23444b983
18 files changed
+50 -56

No files matched your search

+2 -1
View File
@@ -20,7 +20,8 @@ void TEdgeSegment::port_draw()
TEdgeSegment* TEdgeSegment::install_wall(float* floatArr, TCollisionComponent* collComp, char* activeFlagPtr,
unsigned int collisionGroup, float offset, size_t wallValue)
{
vector_type center{}, start{}, end{}, prevCenter{}, vec1{}, vec2{}, dstVec{};
vector_type center{}, start{}, end{}, prevCenter{};
vector3 vec1{}, vec2{}, dstVec{};
TEdgeSegment* edge = nullptr;
wall_type wallType = static_cast<wall_type>(static_cast<int>(floor(*floatArr) - 1.0f));