From 6be8cd11d917c85023c3732b4df74b1b6ddb8f86 Mon Sep 17 00:00:00 2001 From: Kearwood Gilbert Date: Mon, 16 Aug 2021 16:33:38 -0700 Subject: [PATCH] Updated headers --- include/aabb.h | 2 +- include/hitinfo.h | 2 +- include/hydra.h | 2 +- include/matrix2.h | 2 +- include/matrix2x3.h | 2 +- include/matrix4.h | 2 +- include/quaternion.h | 2 +- include/scalar.h | 2 +- include/triangle3.h | 2 +- include/vector2.h | 2 +- include/vector2i.h | 2 +- include/vector3.h | 2 +- include/vector4.h | 2 +- src/aabb.cpp | 2 +- src/hitinfo.cpp | 2 +- src/krhelpers.cpp | 2 +- src/krhelpers.h | 30 ++++++++++++++++++++++++++++++ src/matrix2.cpp | 2 +- src/matrix2x3.cpp | 2 +- src/matrix4.cpp | 2 +- src/quaternion.cpp | 2 +- src/scalar.cpp | 2 +- src/triangle3.cpp | 2 +- src/vector2.cpp | 2 +- src/vector2i.cpp | 2 +- src/vector3.cpp | 2 +- src/vector4.cpp | 2 +- 27 files changed, 56 insertions(+), 26 deletions(-) diff --git a/include/aabb.h b/include/aabb.h index a299d98..76eb84e 100644 --- a/include/aabb.h +++ b/include/aabb.h @@ -2,7 +2,7 @@ // KRAABB.h // Kraken Engine / Hydra // -// Copyright 2018 Kearwood Gilbert. All rights reserved. +// Copyright 2021 Kearwood Gilbert. All rights reserved. // // Redistribution and use in source and binary forms, with or without modification, are // permitted provided that the following conditions are met: diff --git a/include/hitinfo.h b/include/hitinfo.h index 0738485..33dfad2 100644 --- a/include/hitinfo.h +++ b/include/hitinfo.h @@ -2,7 +2,7 @@ // hitinfo.h // Kraken Engine / Hydra // -// Copyright 2018 Kearwood Gilbert. All rights reserved. +// Copyright 2021 Kearwood Gilbert. All rights reserved. // // Redistribution and use in source and binary forms, with or without modification, are // permitted provided that the following conditions are met: diff --git a/include/hydra.h b/include/hydra.h index 17e52cc..000bede 100644 --- a/include/hydra.h +++ b/include/hydra.h @@ -2,7 +2,7 @@ // hydra.h // Kraken Engine / Hydra // -// Copyright 2018 Kearwood Gilbert. All rights reserved. +// Copyright 2021 Kearwood Gilbert. All rights reserved. // // Redistribution and use in source and binary forms, with or without modification, are // permitted provided that the following conditions are met: diff --git a/include/matrix2.h b/include/matrix2.h index c0718f1..2e6ef8e 100644 --- a/include/matrix2.h +++ b/include/matrix2.h @@ -2,7 +2,7 @@ // Matrix2.h // Kraken Engine / Hydra // -// Copyright 2018 Kearwood Gilbert. All rights reserved. +// Copyright 2021 Kearwood Gilbert. All rights reserved. // // Redistribution and use in source and binary forms, with or without modification, are // permitted provided that the following conditions are met: diff --git a/include/matrix2x3.h b/include/matrix2x3.h index 74d8043..439079e 100644 --- a/include/matrix2x3.h +++ b/include/matrix2x3.h @@ -2,7 +2,7 @@ // Matrix2x3.h // Kraken Engine / Hydra // -// Copyright 2018 Kearwood Gilbert. All rights reserved. +// Copyright 2021 Kearwood Gilbert. All rights reserved. // // Redistribution and use in source and binary forms, with or without modification, are // permitted provided that the following conditions are met: diff --git a/include/matrix4.h b/include/matrix4.h index 02ba172..8471de3 100644 --- a/include/matrix4.h +++ b/include/matrix4.h @@ -2,7 +2,7 @@ // Matrix4.h // Kraken Engine / Hydra // -// Copyright 2018 Kearwood Gilbert. All rights reserved. +// Copyright 2021 Kearwood Gilbert. All rights reserved. // // Redistribution and use in source and binary forms, with or without modification, are // permitted provided that the following conditions are met: diff --git a/include/quaternion.h b/include/quaternion.h index d950232..a44e76b 100644 --- a/include/quaternion.h +++ b/include/quaternion.h @@ -2,7 +2,7 @@ // Quaternion.h // Kraken Engine / Hydra // -// Copyright 2018 Kearwood Gilbert. All rights reserved. +// Copyright 2021 Kearwood Gilbert. All rights reserved. // // Redistribution and use in source and binary forms, with or without modification, are // permitted provided that the following conditions are met: diff --git a/include/scalar.h b/include/scalar.h index 9cbd483..e62aee7 100644 --- a/include/scalar.h +++ b/include/scalar.h @@ -2,7 +2,7 @@ // KRFloat.h // Kraken Engine / Hydra // -// Copyright 2018 Kearwood Gilbert. All rights reserved. +// Copyright 2021 Kearwood Gilbert. All rights reserved. // // Redistribution and use in source and binary forms, with or without modification, are // permitted provided that the following conditions are met: diff --git a/include/triangle3.h b/include/triangle3.h index f4ba658..db30ea9 100644 --- a/include/triangle3.h +++ b/include/triangle3.h @@ -2,7 +2,7 @@ // KRTriangle.h // Kraken Engine / Hydra // -// Copyright 2018 Kearwood Gilbert. All rights reserved. +// Copyright 2021 Kearwood Gilbert. All rights reserved. // // Redistribution and use in source and binary forms, with or without modification, are // permitted provided that the following conditions are met: diff --git a/include/vector2.h b/include/vector2.h index 3898e10..3371c4d 100644 --- a/include/vector2.h +++ b/include/vector2.h @@ -2,7 +2,7 @@ // vector2.h // Kraken Engine / Hydra // -// Copyright 2018 Kearwood Gilbert. All rights reserved. +// Copyright 2021 Kearwood Gilbert. All rights reserved. // // Redistribution and use in source and binary forms, with or without modification, are // permitted provided that the following conditions are met: diff --git a/include/vector2i.h b/include/vector2i.h index 2839bbe..4f0c9f8 100644 --- a/include/vector2i.h +++ b/include/vector2i.h @@ -2,7 +2,7 @@ // vector2i.h // Kraken Engine / Hydra // -// Copyright 2018 Kearwood Gilbert. All rights reserved. +// Copyright 2021 Kearwood Gilbert. All rights reserved. // // Redistribution and use in source and binary forms, with or without modification, are // permitted provided that the following conditions are met: diff --git a/include/vector3.h b/include/vector3.h index 5613758..390f0c7 100644 --- a/include/vector3.h +++ b/include/vector3.h @@ -2,7 +2,7 @@ // Vector3.h // Kraken Engine / Hydra // -// Copyright 2018 Kearwood Gilbert. All rights reserved. +// Copyright 2021 Kearwood Gilbert. All rights reserved. // // Redistribution and use in source and binary forms, with or without modification, are // permitted provided that the following conditions are met: diff --git a/include/vector4.h b/include/vector4.h index bdf4349..2b30f35 100644 --- a/include/vector4.h +++ b/include/vector4.h @@ -2,7 +2,7 @@ // Vector4.h // Kraken Engine / Hydra // -// Copyright 2018 Kearwood Gilbert. All rights reserved. +// Copyright 2021 Kearwood Gilbert. All rights reserved. // // Redistribution and use in source and binary forms, with or without modification, are // permitted provided that the following conditions are met: diff --git a/src/aabb.cpp b/src/aabb.cpp index 64f53fe..01956b8 100644 --- a/src/aabb.cpp +++ b/src/aabb.cpp @@ -2,7 +2,7 @@ // aabb.cpp // Kraken Engine / Hydra // -// Copyright 2018 Kearwood Gilbert. All rights reserved. +// Copyright 2021 Kearwood Gilbert. All rights reserved. // // Redistribution and use in source and binary forms, with or without modification, are // permitted provided that the following conditions are met: diff --git a/src/hitinfo.cpp b/src/hitinfo.cpp index d754cba..489720e 100644 --- a/src/hitinfo.cpp +++ b/src/hitinfo.cpp @@ -2,7 +2,7 @@ // hitinfo.cpp // Kraken Engine / Hydra // -// Copyright 2018 Kearwood Gilbert. All rights reserved. +// Copyright 2021 Kearwood Gilbert. All rights reserved. // // Redistribution and use in source and binary forms, with or without modification, are // permitted provided that the following conditions are met: diff --git a/src/krhelpers.cpp b/src/krhelpers.cpp index 3fbf57b..ceeaf36 100644 --- a/src/krhelpers.cpp +++ b/src/krhelpers.cpp @@ -2,7 +2,7 @@ // krhelpers.cpp // Kraken Engine / Hydra // -// Copyright 2018 Kearwood Gilbert. All rights reserved. +// Copyright 2021 Kearwood Gilbert. All rights reserved. // // Redistribution and use in source and binary forms, with or without modification, are // permitted provided that the following conditions are met: diff --git a/src/krhelpers.h b/src/krhelpers.h index c278133..70b8c5e 100644 --- a/src/krhelpers.h +++ b/src/krhelpers.h @@ -1,3 +1,33 @@ +// +// krhelpers.h +// Kraken Engine / Hydra +// +// Copyright 2021 Kearwood Gilbert. All rights reserved. +// +// Redistribution and use in source and binary forms, with or without modification, are +// permitted provided that the following conditions are met: +// +// 1. Redistributions of source code must retain the above copyright notice, this list of +// conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright notice, this list +// of conditions and the following disclaimer in the documentation and/or other materials +// provided with the distribution. +// +// THIS SOFTWARE IS PROVIDED BY KEARWOOD GILBERT ''AS IS'' AND ANY EXPRESS OR IMPLIED +// WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND +// FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL KEARWOOD GILBERT OR +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +// SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +// ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +// ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// The views and conclusions contained in the software and documentation are those of the +// authors and should not be interpreted as representing official policies, either expressed +// or implied, of Kearwood Gilbert. +// #ifndef KRHELPERS_H #define KRHELPERS_H diff --git a/src/matrix2.cpp b/src/matrix2.cpp index 49f1324..4d4dcc2 100644 --- a/src/matrix2.cpp +++ b/src/matrix2.cpp @@ -2,7 +2,7 @@ // matrix2.cpp // Kraken Engine / Hydra // -// Copyright 2018 Kearwood Gilbert. All rights reserved. +// Copyright 2021 Kearwood Gilbert. All rights reserved. // // Redistribution and use in source and binary forms, with or without modification, are // permitted provided that the following conditions are met: diff --git a/src/matrix2x3.cpp b/src/matrix2x3.cpp index 8beebd2..ee53433 100644 --- a/src/matrix2x3.cpp +++ b/src/matrix2x3.cpp @@ -2,7 +2,7 @@ // matrix23.cpp // Kraken Engine / Hydra // -// Copyright 2018 Kearwood Gilbert. All rights reserved. +// Copyright 2021 Kearwood Gilbert. All rights reserved. // // Redistribution and use in source and binary forms, with or without modification, are // permitted provided that the following conditions are met: diff --git a/src/matrix4.cpp b/src/matrix4.cpp index cf062af..8a4121c 100644 --- a/src/matrix4.cpp +++ b/src/matrix4.cpp @@ -2,7 +2,7 @@ // matrix4.cpp // Kraken Engine / Hydra // -// Copyright 2018 Kearwood Gilbert. All rights reserved. +// Copyright 2021 Kearwood Gilbert. All rights reserved. // // Redistribution and use in source and binary forms, with or without modification, are // permitted provided that the following conditions are met: diff --git a/src/quaternion.cpp b/src/quaternion.cpp index 99ca927..8e936a5 100644 --- a/src/quaternion.cpp +++ b/src/quaternion.cpp @@ -2,7 +2,7 @@ // quaternion.cpp // Kraken Engine / Hydra // -// Copyright 2018 Kearwood Gilbert. All rights reserved. +// Copyright 2021 Kearwood Gilbert. All rights reserved. // // Redistribution and use in source and binary forms, with or without modification, are // permitted provided that the following conditions are met: diff --git a/src/scalar.cpp b/src/scalar.cpp index ea0784f..8371ac7 100644 --- a/src/scalar.cpp +++ b/src/scalar.cpp @@ -2,7 +2,7 @@ // scalar.cpp // Kraken Engine / Hydra // -// Copyright 2018 Kearwood Gilbert. All rights reserved. +// Copyright 2021 Kearwood Gilbert. All rights reserved. // // Redistribution and use in source and binary forms, with or without modification, are // permitted provided that the following conditions are met: diff --git a/src/triangle3.cpp b/src/triangle3.cpp index bdfd7e8..6fecf28 100644 --- a/src/triangle3.cpp +++ b/src/triangle3.cpp @@ -2,7 +2,7 @@ // KRTriangle.cpp // Kraken Engine / Hydra // -// Copyright 2018 Kearwood Gilbert. All rights reserved. +// Copyright 2021 Kearwood Gilbert. All rights reserved. // // Redistribution and use in source and binary forms, with or without modification, are // permitted provided that the following conditions are met: diff --git a/src/vector2.cpp b/src/vector2.cpp index 3ef5e56..cc63e0a 100644 --- a/src/vector2.cpp +++ b/src/vector2.cpp @@ -2,7 +2,7 @@ // Vector2.cpp // Kraken Engine / Hydra // -// Copyright 2018 Kearwood Gilbert. All rights reserved. +// Copyright 2021 Kearwood Gilbert. All rights reserved. // // Redistribution and use in source and binary forms, with or without modification, are // permitted provided that the following conditions are met: diff --git a/src/vector2i.cpp b/src/vector2i.cpp index 7b718df..d8344a1 100644 --- a/src/vector2i.cpp +++ b/src/vector2i.cpp @@ -2,7 +2,7 @@ // Vector2i.cpp // Kraken Engine / Hydra // -// Copyright 2018 Kearwood Gilbert. All rights reserved. +// Copyright 2021 Kearwood Gilbert. All rights reserved. // // Redistribution and use in source and binary forms, with or without modification, are // permitted provided that the following conditions are met: diff --git a/src/vector3.cpp b/src/vector3.cpp index 50a30ca..638f327 100644 --- a/src/vector3.cpp +++ b/src/vector3.cpp @@ -2,7 +2,7 @@ // Vector3.cpp // Kraken Engine / Hydra // -// Copyright 2018 Kearwood Gilbert. All rights reserved. +// Copyright 2021 Kearwood Gilbert. All rights reserved. // // Redistribution and use in source and binary forms, with or without modification, are // permitted provided that the following conditions are met: diff --git a/src/vector4.cpp b/src/vector4.cpp index 82be4fa..1385d3e 100644 --- a/src/vector4.cpp +++ b/src/vector4.cpp @@ -2,7 +2,7 @@ // Vector4.cpp // Kraken Engine / Hydra // -// Copyright 2018 Kearwood Gilbert. All rights reserved. +// Copyright 2021 Kearwood Gilbert. All rights reserved. // // Redistribution and use in source and binary forms, with or without modification, are // permitted provided that the following conditions are met: