forked from Hartmut/paradiso
updated copyright
This commit is contained in:
parent
e92dadaf4d
commit
945adb53c9
20 changed files with 37 additions and 37 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright 2023 Hartmut Seichter
|
||||
* Copyright 2023-2024 Hartmut Seichter
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
* of this software and associated documentation files (the "Software"), to deal
|
||||
|
@ -59,4 +59,4 @@ struct AABB final {
|
|||
|
||||
} // namespace paradiso
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright 2023 Hartmut Seichter
|
||||
* Copyright 2023-2024 Hartmut Seichter
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
* of this software and associated documentation files (the "Software"), to deal
|
||||
|
@ -106,4 +106,4 @@ struct Bitmap final {
|
|||
};
|
||||
} // namespace paradiso
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright 2023 Hartmut Seichter
|
||||
* Copyright 2023-2024 Hartmut Seichter
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
* of this software and associated documentation files (the "Software"), to deal
|
||||
|
@ -53,4 +53,4 @@ struct BitmapIO {
|
|||
|
||||
} // namespace paradiso
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright 2023 Hartmut Seichter
|
||||
* Copyright 2023-2024 Hartmut Seichter
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
* of this software and associated documentation files (the "Software"), to deal
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright 2023 Hartmut Seichter
|
||||
* Copyright 2023-2024 Hartmut Seichter
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
* of this software and associated documentation files (the "Software"), to deal
|
||||
|
@ -71,4 +71,4 @@ struct Rectangle final {
|
|||
};
|
||||
} // namespace paradiso
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright 2023 Hartmut Seichter
|
||||
* Copyright 2023-2024 Hartmut Seichter
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
* of this software and associated documentation files (the "Software"), to deal
|
||||
|
@ -41,4 +41,4 @@
|
|||
|
||||
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright 2023 Hartmut Seichter
|
||||
* Copyright 2023-2024 Hartmut Seichter
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
* of this software and associated documentation files (the "Software"), to deal
|
||||
|
@ -32,7 +32,7 @@ namespace paradiso {
|
|||
template <std::size_t R, std::size_t C, typename Scalar, bool RowMajor = false>
|
||||
struct Matrix : MatrixBase<Scalar, Matrix<R, C, Scalar>> {
|
||||
|
||||
Scalar data[R * C]{};
|
||||
Scalar data[R * C]{};
|
||||
|
||||
static constexpr std::size_t rows{R};
|
||||
static constexpr std::size_t cols{C};
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright 2023 Hartmut Seichter
|
||||
* Copyright 2023-2024 Hartmut Seichter
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
* of this software and associated documentation files (the "Software"), to deal
|
||||
|
@ -144,4 +144,4 @@ template <typename Scalar, typename Derived> struct MatrixBase {
|
|||
};
|
||||
|
||||
} // namespace paradiso
|
||||
#endif
|
||||
#endif
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright 2023 Hartmut Seichter
|
||||
* Copyright 2023-2024 Hartmut Seichter
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
* of this software and associated documentation files (the "Software"), to deal
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright 2023 Hartmut Seichter
|
||||
* Copyright 2023-2024 Hartmut Seichter
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
* of this software and associated documentation files (the "Software"), to deal
|
||||
|
@ -90,4 +90,4 @@ struct RGBA final {
|
|||
};
|
||||
} // namespace paradiso
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright 2023 Hartmut Seichter
|
||||
* Copyright 2023-2024 Hartmut Seichter
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
* of this software and associated documentation files (the "Software"), to deal
|
||||
|
@ -58,7 +58,7 @@ struct Shader final {
|
|||
const Shader&
|
||||
set_uniform_at_location(int location,
|
||||
float v) const; //!< sets a float in a shader
|
||||
|
||||
|
||||
const Shader& set_uniform_at_location(
|
||||
int location,
|
||||
uint32_t v) const; //!< sets a 32bit unsigned in a shader
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright 2023 Hartmut Seichter
|
||||
* Copyright 2023-2024 Hartmut Seichter
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
* of this software and associated documentation files (the "Software"), to deal
|
||||
|
@ -72,4 +72,4 @@ struct Sprite final {
|
|||
};
|
||||
} // namespace paradiso
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright 2023 Hartmut Seichter
|
||||
* Copyright 2023-2024 Hartmut Seichter
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
* of this software and associated documentation files (the "Software"), to deal
|
||||
|
@ -82,4 +82,4 @@ template <typename T> struct Vector3 : Matrix<3, 1, T> {
|
|||
|
||||
}; // namespace paradiso
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright 2023 Hartmut Seichter
|
||||
* Copyright 2023-2024 Hartmut Seichter
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
* of this software and associated documentation files (the "Software"), to deal
|
||||
|
@ -89,4 +89,4 @@ struct Window final {
|
|||
|
||||
} // namespace paradiso
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright 2023 Hartmut Seichter
|
||||
* Copyright 2023-2024 Hartmut Seichter
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
* of this software and associated documentation files (the "Software"), to deal
|
||||
|
@ -138,4 +138,4 @@ std::string BitmapIO::path() const
|
|||
}
|
||||
|
||||
|
||||
} // namespace paradiso
|
||||
} // namespace paradiso
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright 2023 Hartmut Seichter
|
||||
* Copyright 2023-2024 Hartmut Seichter
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
* of this software and associated documentation files (the "Software"), to deal
|
||||
|
@ -71,7 +71,7 @@ struct Context::impl {
|
|||
|
||||
Context::Context() : impl_(std::make_unique<impl>()) {}
|
||||
|
||||
Context::~Context() {}
|
||||
Context::~Context() = default;
|
||||
|
||||
Context& Context::set_blend() { return *this; }
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright 2023 Hartmut Seichter
|
||||
* Copyright 2023-2024 Hartmut Seichter
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
* of this software and associated documentation files (the "Software"), to deal
|
||||
|
@ -34,7 +34,7 @@
|
|||
#include <vector>
|
||||
#include <limits>
|
||||
|
||||
#if defined(_WIN32)
|
||||
#if defined(_WIN32)
|
||||
#undef max
|
||||
#endif
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright 2023 Hartmut Seichter
|
||||
* Copyright 2023-2024 Hartmut Seichter
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
* of this software and associated documentation files (the "Software"), to deal
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright 2023 Hartmut Seichter
|
||||
* Copyright 2023-2024 Hartmut Seichter
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
* of this software and associated documentation files (the "Software"), to deal
|
||||
|
@ -34,7 +34,7 @@ layout (location = 2) in vec2 texture_coords;
|
|||
|
||||
// pivot der sprite
|
||||
uniform vec2 pivot = vec2( 0.0, 0.0 );
|
||||
// scale
|
||||
// scale
|
||||
uniform vec2 scale = vec2( 1.0, 1.0 );
|
||||
// rotation
|
||||
uniform float rotation = 0.0;
|
||||
|
@ -80,4 +80,4 @@ void main() {
|
|||
})";
|
||||
} // namespace paradiso
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright 2023 Hartmut Seichter
|
||||
* Copyright 2023-2024 Hartmut Seichter
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
* of this software and associated documentation files (the "Software"), to deal
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue