Skip to content

Commit

Permalink
105 collision detection files: Update copyright/copyleft headers
Browse files Browse the repository at this point in the history
  • Loading branch information
stephengtuggy committed Jan 15, 2025
1 parent 6db429a commit 09c6f34
Show file tree
Hide file tree
Showing 105 changed files with 612 additions and 617 deletions.
7 changes: 2 additions & 5 deletions engine/src/cmd/collide2/CSopcodecollider.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
/*
Copyright (C) 2000 by Jorrit Tyberghein
Copyright (C) 2020 pyramid3d
Copyright (C) 2020-2025 Stephen G. Tuggy
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
Expand All @@ -24,11 +26,6 @@
-------------------------------------------------------------------------
*/

/*
* Copyright (C) 2020 pyramid3d
* Copyright (C) 2020-2022 Stephen G. Tuggy
*/


#include "CSopcodecollider.h"
#include "opcodeqsqrt.h"
Expand Down
7 changes: 2 additions & 5 deletions engine/src/cmd/collide2/CSopcodecollider.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
/*
Copyright (C) 2000 by Jorrit Tyberghein
Copyright (C) 2020 pyramid3d
Copyright (C) 2020-2025 Stephen G. Tuggy, Benjamen R. Meyer
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
Expand All @@ -24,11 +26,6 @@
-------------------------------------------------------------------------
*/

/*
* Copyright (C) 2020 pyramid3d
* Copyright (C) 2020-2023 Stephen G. Tuggy, Benjamen R. Meyer
*/

#ifndef VEGA_STRIKE_ENGINE_CMD_COLLSION2_OPCODECOL_H
#include "Stdafx.h"
#define VEGA_STRIKE_ENGINE_CMD_COLLSION2_OPCODECOL_H
Expand Down
10 changes: 2 additions & 8 deletions engine/src/cmd/collide2/Ice/IceAABB.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
* \file IceAABB.cpp
* \author Pierre Terdiman
* \date January, 29, 2000
*
* Copyright (C) 2021, 2022, 2025 Stephen G. Tuggy
*/
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

Expand All @@ -16,13 +18,6 @@
*/
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/**
* Updated by Stephen G. Tuggy 2021-07-03
* Updated by Stephen G. Tuggy 2022-01-06
*/
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Precompiled Header
#include "Stdafx.h"
Expand Down Expand Up @@ -430,4 +425,3 @@ float AABB::ComputeBoxArea(const Point &eye, const Matrix4x4 &mat, float width,

return Sum * 0.5f; //return computed value corrected by 0.5
}

11 changes: 3 additions & 8 deletions engine/src/cmd/collide2/Ice/IceAABB.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,9 @@
* \file IceAABB.h
* \author Pierre Terdiman
* \date January, 13, 2000
*/
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/**
* Updated by Stephen G. Tuggy 2021-07-03
* Updated by Stephen G. Tuggy 2022-01-06
* Updated by Benjamen R. Meyer 2023-05-27
*
* Copyright (C) 2021, 2022, 2025 Stephen G. Tuggy
* Copyright (C) 2023 Benjamen R. Meyer
*/
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

Expand Down
11 changes: 3 additions & 8 deletions engine/src/cmd/collide2/Ice/IceAxes.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,9 @@
* \file IceAxes.h
* \author Pierre Terdiman
* \date January, 29, 2000
*/
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/**
* Updated by Stephen G. Tuggy 2021-07-03
* Updated by Stephen G. Tuggy 2022-01-06
* Updated by Benjamen R. Meyer 2023-05-27
*
* Copyright (C) 2021, 2022, 2025 Stephen G. Tuggy
* Copyright (C) 2023 Benjamen R. Meyer
*/
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

Expand Down
11 changes: 3 additions & 8 deletions engine/src/cmd/collide2/Ice/IceBoundingSphere.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,9 @@
* \file IceBoundingSphere.h
* \author Pierre Terdiman
* \date January, 29, 2000
*/
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/**
* Updated by Stephen G. Tuggy 2021-07-03
* Updated by Stephen G. Tuggy 2022-01-06
* Updated by Benjamen R. Meyer 2023-05-27
*
* Copyright (C) 2021, 2022, 2025 Stephen G. Tuggy
* Copyright (C) 2023 Benjamen R. Meyer
*/
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

Expand Down
10 changes: 2 additions & 8 deletions engine/src/cmd/collide2/Ice/IceContainer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
* \file IceContainer.cpp
* \author Pierre Terdiman
* \date February, 5, 2000
*
* Copyright (C) 2021, 2022, 2025 Stephen G. Tuggy
*/
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

Expand All @@ -20,13 +22,6 @@
*/
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/**
* Updated by Stephen G. Tuggy 2021-07-03
* Updated by Stephen G. Tuggy 2022-01-06
*/
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Precompiled Header
#include "Stdafx.h"
Expand Down Expand Up @@ -342,4 +337,3 @@ void Container::operator=(const Container &object) {
CopyMemory(mEntries, object.GetEntries(), mMaxNbEntries * sizeof(uint32_t));
mCurNbEntries = mMaxNbEntries;
}

11 changes: 3 additions & 8 deletions engine/src/cmd/collide2/Ice/IceContainer.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,9 @@
* \file IceContainer.h
* \author Pierre Terdiman
* \date February, 5, 2000
*/
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/**
* Updated by Stephen G. Tuggy 2021-07-03
* Updated by Stephen G. Tuggy 2022-01-06
* Updated by Benjamen R. Meyer 2023-05-27
*
* Copyright (C) 2021, 2022, 2025 Stephen G. Tuggy
* Copyright (C) 2023 Benjamen R. Meyer
*/
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

Expand Down
5 changes: 2 additions & 3 deletions engine/src/cmd/collide2/Ice/IceFPU.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,8 @@
* \author Pierre Terdiman
* \date April, 4, 2000
*
* Updated by Stephen G. Tuggy 2021-07-07
* Updated by Stephen G. Tuggy 2022-01-06
* Updated by Benjamen R. Meyer 2023-05-27
* Copyright (C) 2021, 2022, 2025 Stephen G. Tuggy
* Copyright (C) 2023 Benjamen R. Meyer
*/
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

Expand Down
3 changes: 1 addition & 2 deletions engine/src/cmd/collide2/Ice/IceHPoint.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* \author Pierre Terdiman
* \date April, 4, 2000
*
* Updated by Stephen G. Tuggy 2022-01-06
* Copyright (C) 2022, 2025 Stephen G. Tuggy
*/
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

Expand Down Expand Up @@ -69,4 +69,3 @@ HPoint &HPoint::operator*=(const Matrix4x4 &mat) {

return *this;
}

4 changes: 2 additions & 2 deletions engine/src/cmd/collide2/Ice/IceHPoint.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
* \author Pierre Terdiman
* \date April, 4, 2000
*
* Updated by Stephen G. Tuggy 2022-01-06
* Updated by Benjamen R. Meyer 2023-05-27
* Copyright (C) 2022, 2025 Stephen G. Tuggy
* Copyright (C) 2023 Benjamen R. Meyer
*/
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

Expand Down
10 changes: 2 additions & 8 deletions engine/src/cmd/collide2/Ice/IceIndexedTriangle.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,8 @@
* \file IceIndexedTriangle.cpp
* \author Pierre Terdiman
* \date January, 17, 2000
*/
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/**
* Updated by Stephen G. Tuggy 2021-07-03
* Updated by Stephen G. Tuggy 2022-01-06
*
* Copyright (C) 2021, 2022, 2025 Stephen G. Tuggy
*/
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

Expand Down Expand Up @@ -623,4 +618,3 @@ bool IndexedTriangle::Equal(const IndexedTriangle &tri) const {
HasVertex(tri.mVRef[1]) &&
HasVertex(tri.mVRef[2]));
}

11 changes: 3 additions & 8 deletions engine/src/cmd/collide2/Ice/IceIndexedTriangle.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,9 @@
* \file IceIndexedTriangle.h
* \author Pierre Terdiman
* \date January, 17, 2000
*/
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/**
* Updated by Stephen G. Tuggy 2021-07-03
* Updated by Stephen G. Tuggy 2022-01-06
* Updated by Benjamen R. Meyer 2023-05-027
*
* Copyright (C) 2021, 2022, 2025 Stephen G. Tuggy
* Copyright (C) 2023 Benjamen R. Meyer
*/
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

Expand Down
4 changes: 2 additions & 2 deletions engine/src/cmd/collide2/Ice/IceLSS.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
* \author Pierre Terdiman
* \date April, 4, 2000
*
* Updated by Stephen G. Tuggy 2022-01-06
* Updated by Benjamen R. Meyer 2023-05-27
* Copyright (C) 2022, 2025 Stephen G. Tuggy
* Copyright (C) 2023 Benjamen R. Meyer
*/
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

Expand Down
3 changes: 1 addition & 2 deletions engine/src/cmd/collide2/Ice/IceMatrix3x3.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* \author Pierre Terdiman
* \date April, 4, 2000
*
* Updated by Stephen G. Tuggy 2022-01-06
* Copyright (C) 2022, 2025 Stephen G. Tuggy
*/
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

Expand Down Expand Up @@ -47,4 +47,3 @@ Matrix3x3::operator Matrix4x4() const {
m[2][0], m[2][1], m[2][2], 0.0f,
0.0f, 0.0f, 0.0f, 1.0f);
}

11 changes: 3 additions & 8 deletions engine/src/cmd/collide2/Ice/IceMatrix3x3.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,9 @@
* \file IceMatrix3x3.h
* \author Pierre Terdiman
* \date April, 4, 2000
*/
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/**
* Updated by Stephen G. Tuggy 2021-07-03
* Updated by Stephen G. Tuggy 2022-01-06
* Updated by Benjamen R. Meyer 2023-05-27
*
* Copyright (C) 2021, 2022, 2025 Stephen G. Tuggy
* Copyright (C) 2023 Benjamen R. Meyer
*/
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

Expand Down
10 changes: 2 additions & 8 deletions engine/src/cmd/collide2/Ice/IceMatrix4x4.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
* \file IceMatrix4x4.cpp
* \author Pierre Terdiman
* \date April, 4, 2000
*
* Copyright (C) 2021, 2022, 2025 Stephen G. Tuggy
*/
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

Expand Down Expand Up @@ -34,13 +36,6 @@
*/
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/**
* Updated by Stephen G. Tuggy 2021-07-03
* Updated by Stephen G. Tuggy 2022-01-06
*/
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Precompiled Header
#include "Stdafx.h"
Expand Down Expand Up @@ -139,4 +134,3 @@ Matrix4x4 &Matrix4x4::Invert() {

return *this;
}

11 changes: 3 additions & 8 deletions engine/src/cmd/collide2/Ice/IceMatrix4x4.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,9 @@
* \file IceMatrix4x4.h
* \author Pierre Terdiman
* \date April, 4, 2000
*/
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/**
* Updated by Stephen G. Tuggy 2021-07-03
* Updated by Stephen G. Tuggy 2022-01-06
* Updated by Benjamen R. Meyer 2023-05-27
*
* Copyright (C) 2021, 2022, 2025 Stephen G. Tuggy
* Copyright (C) 2023 Benjamen R. Meyer
*/
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

Expand Down
5 changes: 2 additions & 3 deletions engine/src/cmd/collide2/Ice/IceMemoryMacros.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,8 @@
* \author Pierre Terdiman
* \date April, 4, 2000
*
* Updated by Stephen G. Tuggy 2021-07-07
* Updated by Stephen G. Tuggy 2022-01-06
* Updated by Benjamen R. Meyer 2023-05-27
* Copyright (C) 2021, 2022, 2025 Stephen G. Tuggy
* Copyright (C) 2023 Benjamen R. Meyer
*/
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

Expand Down
10 changes: 2 additions & 8 deletions engine/src/cmd/collide2/Ice/IceOBB.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
* \file IceOBB.cpp
* \author Pierre Terdiman
* \date January, 29, 2000
*
* Copyright (C) 2021, 2022, 2025 Stephen G. Tuggy
*/
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

Expand All @@ -16,13 +18,6 @@
*/
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/**
* Updated by Stephen G. Tuggy 2021-07-03
* Updated by Stephen G. Tuggy 2022-01-06
*/
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Precompiled Header
#include "Stdafx.h"
Expand Down Expand Up @@ -346,4 +341,3 @@ bool OBB::IsInside(const OBB &box) const {

return TRUE;
}

11 changes: 3 additions & 8 deletions engine/src/cmd/collide2/Ice/IceOBB.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,9 @@
* \file IceOBB.h
* \author Pierre Terdiman
* \date January, 13, 2000
*/
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/**
* Updated by Stephen G. Tuggy 2021-07-03
* Updated by Stephen G. Tuggy 2022-01-06
* Updated by Benjamen R. Meyer 2023-05-27
*
* Copyright (C) 2021, 2022, 2025 Stephen G. Tuggy
* Copyright (C) 2023 Benjamen R. Meyer
*/
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

Expand Down
Loading

0 comments on commit 09c6f34

Please sign in to comment.