Revision 46b572b5
Added by Leszek Koltunski over 5 years ago
src/main/java/org/distorted/library/effect/Effect.java | ||
---|---|---|
1 | 1 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
2 | 2 |
// Copyright 2017 Leszek Koltunski // |
3 | 3 |
// // |
4 |
// This file is part of DistortedLibrary. //
|
|
4 |
// This file is part of Distorted. // |
|
5 | 5 |
// // |
6 |
// DistortedLibrary is free software: you can redistribute it and/or modify //
|
|
6 |
// Distorted is free software: you can redistribute it and/or modify // |
|
7 | 7 |
// it under the terms of the GNU General Public License as published by // |
8 | 8 |
// the Free Software Foundation, either version 2 of the License, or // |
9 | 9 |
// (at your option) any later version. // |
10 | 10 |
// // |
11 |
// DistortedLibrary is distributed in the hope that it will be useful, //
|
|
11 |
// Distorted is distributed in the hope that it will be useful, // |
|
12 | 12 |
// but WITHOUT ANY WARRANTY; without even the implied warranty of // |
13 | 13 |
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // |
14 | 14 |
// GNU General Public License for more details. // |
15 | 15 |
// // |
16 | 16 |
// You should have received a copy of the GNU General Public License // |
17 |
// along with DistortedLibrary. If not, see <http://www.gnu.org/licenses/>. //
|
|
17 |
// along with Distorted. If not, see <http://www.gnu.org/licenses/>. // |
|
18 | 18 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
19 | 19 |
|
20 | 20 |
package org.distorted.library.effect; |
src/main/java/org/distorted/library/effect/EffectName.java | ||
---|---|---|
1 | 1 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
2 | 2 |
// Copyright 2016 Leszek Koltunski // |
3 | 3 |
// // |
4 |
// This file is part of DistortedLibrary. //
|
|
4 |
// This file is part of Distorted. // |
|
5 | 5 |
// // |
6 |
// DistortedLibrary is free software: you can redistribute it and/or modify //
|
|
6 |
// Distorted is free software: you can redistribute it and/or modify // |
|
7 | 7 |
// it under the terms of the GNU General Public License as published by // |
8 | 8 |
// the Free Software Foundation, either version 2 of the License, or // |
9 | 9 |
// (at your option) any later version. // |
10 | 10 |
// // |
11 |
// DistortedLibrary is distributed in the hope that it will be useful, //
|
|
11 |
// Distorted is distributed in the hope that it will be useful, // |
|
12 | 12 |
// but WITHOUT ANY WARRANTY; without even the implied warranty of // |
13 | 13 |
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // |
14 | 14 |
// GNU General Public License for more details. // |
15 | 15 |
// // |
16 | 16 |
// You should have received a copy of the GNU General Public License // |
17 |
// along with DistortedLibrary. If not, see <http://www.gnu.org/licenses/>. //
|
|
17 |
// along with Distorted. If not, see <http://www.gnu.org/licenses/>. // |
|
18 | 18 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
19 | 19 |
|
20 | 20 |
package org.distorted.library.effect; |
src/main/java/org/distorted/library/effect/EffectQuality.java | ||
---|---|---|
1 | 1 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
2 | 2 |
// Copyright 2016 Leszek Koltunski // |
3 | 3 |
// // |
4 |
// This file is part of DistortedLibrary. //
|
|
4 |
// This file is part of Distorted. // |
|
5 | 5 |
// // |
6 |
// DistortedLibrary is free software: you can redistribute it and/or modify //
|
|
6 |
// Distorted is free software: you can redistribute it and/or modify // |
|
7 | 7 |
// it under the terms of the GNU General Public License as published by // |
8 | 8 |
// the Free Software Foundation, either version 2 of the License, or // |
9 | 9 |
// (at your option) any later version. // |
10 | 10 |
// // |
11 |
// DistortedLibrary is distributed in the hope that it will be useful, //
|
|
11 |
// Distorted is distributed in the hope that it will be useful, // |
|
12 | 12 |
// but WITHOUT ANY WARRANTY; without even the implied warranty of // |
13 | 13 |
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // |
14 | 14 |
// GNU General Public License for more details. // |
15 | 15 |
// // |
16 | 16 |
// You should have received a copy of the GNU General Public License // |
17 |
// along with DistortedLibrary. If not, see <http://www.gnu.org/licenses/>. //
|
|
17 |
// along with Distorted. If not, see <http://www.gnu.org/licenses/>. // |
|
18 | 18 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
19 | 19 |
|
20 | 20 |
package org.distorted.library.effect; |
src/main/java/org/distorted/library/effect/EffectType.java | ||
---|---|---|
1 | 1 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
2 | 2 |
// Copyright 2016 Leszek Koltunski // |
3 | 3 |
// // |
4 |
// This file is part of DistortedLibrary. //
|
|
4 |
// This file is part of Distorted. // |
|
5 | 5 |
// // |
6 |
// DistortedLibrary is free software: you can redistribute it and/or modify //
|
|
6 |
// Distorted is free software: you can redistribute it and/or modify // |
|
7 | 7 |
// it under the terms of the GNU General Public License as published by // |
8 | 8 |
// the Free Software Foundation, either version 2 of the License, or // |
9 | 9 |
// (at your option) any later version. // |
10 | 10 |
// // |
11 |
// DistortedLibrary is distributed in the hope that it will be useful, //
|
|
11 |
// Distorted is distributed in the hope that it will be useful, // |
|
12 | 12 |
// but WITHOUT ANY WARRANTY; without even the implied warranty of // |
13 | 13 |
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // |
14 | 14 |
// GNU General Public License for more details. // |
15 | 15 |
// // |
16 | 16 |
// You should have received a copy of the GNU General Public License // |
17 |
// along with DistortedLibrary. If not, see <http://www.gnu.org/licenses/>. //
|
|
17 |
// along with Distorted. If not, see <http://www.gnu.org/licenses/>. // |
|
18 | 18 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
19 | 19 |
|
20 | 20 |
package org.distorted.library.effect; |
src/main/java/org/distorted/library/effect/FragmentEffect.java | ||
---|---|---|
1 | 1 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
2 | 2 |
// Copyright 2017 Leszek Koltunski // |
3 | 3 |
// // |
4 |
// This file is part of DistortedLibrary. //
|
|
4 |
// This file is part of Distorted. // |
|
5 | 5 |
// // |
6 |
// DistortedLibrary is free software: you can redistribute it and/or modify //
|
|
6 |
// Distorted is free software: you can redistribute it and/or modify // |
|
7 | 7 |
// it under the terms of the GNU General Public License as published by // |
8 | 8 |
// the Free Software Foundation, either version 2 of the License, or // |
9 | 9 |
// (at your option) any later version. // |
10 | 10 |
// // |
11 |
// DistortedLibrary is distributed in the hope that it will be useful, //
|
|
11 |
// Distorted is distributed in the hope that it will be useful, // |
|
12 | 12 |
// but WITHOUT ANY WARRANTY; without even the implied warranty of // |
13 | 13 |
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // |
14 | 14 |
// GNU General Public License for more details. // |
15 | 15 |
// // |
16 | 16 |
// You should have received a copy of the GNU General Public License // |
17 |
// along with DistortedLibrary. If not, see <http://www.gnu.org/licenses/>. //
|
|
17 |
// along with Distorted. If not, see <http://www.gnu.org/licenses/>. // |
|
18 | 18 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
19 | 19 |
|
20 | 20 |
package org.distorted.library.effect; |
src/main/java/org/distorted/library/effect/FragmentEffectAlpha.java | ||
---|---|---|
1 | 1 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
2 | 2 |
// Copyright 2017 Leszek Koltunski // |
3 | 3 |
// // |
4 |
// This file is part of DistortedLibrary. //
|
|
4 |
// This file is part of Distorted. // |
|
5 | 5 |
// // |
6 |
// DistortedLibrary is free software: you can redistribute it and/or modify //
|
|
6 |
// Distorted is free software: you can redistribute it and/or modify // |
|
7 | 7 |
// it under the terms of the GNU General Public License as published by // |
8 | 8 |
// the Free Software Foundation, either version 2 of the License, or // |
9 | 9 |
// (at your option) any later version. // |
10 | 10 |
// // |
11 |
// DistortedLibrary is distributed in the hope that it will be useful, //
|
|
11 |
// Distorted is distributed in the hope that it will be useful, // |
|
12 | 12 |
// but WITHOUT ANY WARRANTY; without even the implied warranty of // |
13 | 13 |
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // |
14 | 14 |
// GNU General Public License for more details. // |
15 | 15 |
// // |
16 | 16 |
// You should have received a copy of the GNU General Public License // |
17 |
// along with DistortedLibrary. If not, see <http://www.gnu.org/licenses/>. //
|
|
17 |
// along with Distorted. If not, see <http://www.gnu.org/licenses/>. // |
|
18 | 18 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
19 | 19 |
|
20 | 20 |
package org.distorted.library.effect; |
src/main/java/org/distorted/library/effect/FragmentEffectBrightness.java | ||
---|---|---|
1 | 1 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
2 | 2 |
// Copyright 2017 Leszek Koltunski // |
3 | 3 |
// // |
4 |
// This file is part of DistortedLibrary. //
|
|
4 |
// This file is part of Distorted. // |
|
5 | 5 |
// // |
6 |
// DistortedLibrary is free software: you can redistribute it and/or modify //
|
|
6 |
// Distorted is free software: you can redistribute it and/or modify // |
|
7 | 7 |
// it under the terms of the GNU General Public License as published by // |
8 | 8 |
// the Free Software Foundation, either version 2 of the License, or // |
9 | 9 |
// (at your option) any later version. // |
10 | 10 |
// // |
11 |
// DistortedLibrary is distributed in the hope that it will be useful, //
|
|
11 |
// Distorted is distributed in the hope that it will be useful, // |
|
12 | 12 |
// but WITHOUT ANY WARRANTY; without even the implied warranty of // |
13 | 13 |
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // |
14 | 14 |
// GNU General Public License for more details. // |
15 | 15 |
// // |
16 | 16 |
// You should have received a copy of the GNU General Public License // |
17 |
// along with DistortedLibrary. If not, see <http://www.gnu.org/licenses/>. //
|
|
17 |
// along with Distorted. If not, see <http://www.gnu.org/licenses/>. // |
|
18 | 18 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
19 | 19 |
|
20 | 20 |
package org.distorted.library.effect; |
src/main/java/org/distorted/library/effect/FragmentEffectChroma.java | ||
---|---|---|
1 | 1 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
2 | 2 |
// Copyright 2017 Leszek Koltunski // |
3 | 3 |
// // |
4 |
// This file is part of DistortedLibrary. //
|
|
4 |
// This file is part of Distorted. // |
|
5 | 5 |
// // |
6 |
// DistortedLibrary is free software: you can redistribute it and/or modify //
|
|
6 |
// Distorted is free software: you can redistribute it and/or modify // |
|
7 | 7 |
// it under the terms of the GNU General Public License as published by // |
8 | 8 |
// the Free Software Foundation, either version 2 of the License, or // |
9 | 9 |
// (at your option) any later version. // |
10 | 10 |
// // |
11 |
// DistortedLibrary is distributed in the hope that it will be useful, //
|
|
11 |
// Distorted is distributed in the hope that it will be useful, // |
|
12 | 12 |
// but WITHOUT ANY WARRANTY; without even the implied warranty of // |
13 | 13 |
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // |
14 | 14 |
// GNU General Public License for more details. // |
15 | 15 |
// // |
16 | 16 |
// You should have received a copy of the GNU General Public License // |
17 |
// along with DistortedLibrary. If not, see <http://www.gnu.org/licenses/>. //
|
|
17 |
// along with Distorted. If not, see <http://www.gnu.org/licenses/>. // |
|
18 | 18 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
19 | 19 |
|
20 | 20 |
package org.distorted.library.effect; |
src/main/java/org/distorted/library/effect/FragmentEffectContrast.java | ||
---|---|---|
1 | 1 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
2 | 2 |
// Copyright 2017 Leszek Koltunski // |
3 | 3 |
// // |
4 |
// This file is part of DistortedLibrary. //
|
|
4 |
// This file is part of Distorted. // |
|
5 | 5 |
// // |
6 |
// DistortedLibrary is free software: you can redistribute it and/or modify //
|
|
6 |
// Distorted is free software: you can redistribute it and/or modify // |
|
7 | 7 |
// it under the terms of the GNU General Public License as published by // |
8 | 8 |
// the Free Software Foundation, either version 2 of the License, or // |
9 | 9 |
// (at your option) any later version. // |
10 | 10 |
// // |
11 |
// DistortedLibrary is distributed in the hope that it will be useful, //
|
|
11 |
// Distorted is distributed in the hope that it will be useful, // |
|
12 | 12 |
// but WITHOUT ANY WARRANTY; without even the implied warranty of // |
13 | 13 |
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // |
14 | 14 |
// GNU General Public License for more details. // |
15 | 15 |
// // |
16 | 16 |
// You should have received a copy of the GNU General Public License // |
17 |
// along with DistortedLibrary. If not, see <http://www.gnu.org/licenses/>. //
|
|
17 |
// along with Distorted. If not, see <http://www.gnu.org/licenses/>. // |
|
18 | 18 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
19 | 19 |
|
20 | 20 |
package org.distorted.library.effect; |
src/main/java/org/distorted/library/effect/FragmentEffectSaturation.java | ||
---|---|---|
1 | 1 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
2 | 2 |
// Copyright 2017 Leszek Koltunski // |
3 | 3 |
// // |
4 |
// This file is part of DistortedLibrary. //
|
|
4 |
// This file is part of Distorted. // |
|
5 | 5 |
// // |
6 |
// DistortedLibrary is free software: you can redistribute it and/or modify //
|
|
6 |
// Distorted is free software: you can redistribute it and/or modify // |
|
7 | 7 |
// it under the terms of the GNU General Public License as published by // |
8 | 8 |
// the Free Software Foundation, either version 2 of the License, or // |
9 | 9 |
// (at your option) any later version. // |
10 | 10 |
// // |
11 |
// DistortedLibrary is distributed in the hope that it will be useful, //
|
|
11 |
// Distorted is distributed in the hope that it will be useful, // |
|
12 | 12 |
// but WITHOUT ANY WARRANTY; without even the implied warranty of // |
13 | 13 |
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // |
14 | 14 |
// GNU General Public License for more details. // |
15 | 15 |
// // |
16 | 16 |
// You should have received a copy of the GNU General Public License // |
17 |
// along with DistortedLibrary. If not, see <http://www.gnu.org/licenses/>. //
|
|
17 |
// along with Distorted. If not, see <http://www.gnu.org/licenses/>. // |
|
18 | 18 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
19 | 19 |
|
20 | 20 |
package org.distorted.library.effect; |
src/main/java/org/distorted/library/effect/MatrixEffect.java | ||
---|---|---|
1 | 1 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
2 | 2 |
// Copyright 2017 Leszek Koltunski // |
3 | 3 |
// // |
4 |
// This file is part of DistortedLibrary. //
|
|
4 |
// This file is part of Distorted. // |
|
5 | 5 |
// // |
6 |
// DistortedLibrary is free software: you can redistribute it and/or modify //
|
|
6 |
// Distorted is free software: you can redistribute it and/or modify // |
|
7 | 7 |
// it under the terms of the GNU General Public License as published by // |
8 | 8 |
// the Free Software Foundation, either version 2 of the License, or // |
9 | 9 |
// (at your option) any later version. // |
10 | 10 |
// // |
11 |
// DistortedLibrary is distributed in the hope that it will be useful, //
|
|
11 |
// Distorted is distributed in the hope that it will be useful, // |
|
12 | 12 |
// but WITHOUT ANY WARRANTY; without even the implied warranty of // |
13 | 13 |
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // |
14 | 14 |
// GNU General Public License for more details. // |
15 | 15 |
// // |
16 | 16 |
// You should have received a copy of the GNU General Public License // |
17 |
// along with DistortedLibrary. If not, see <http://www.gnu.org/licenses/>. //
|
|
17 |
// along with Distorted. If not, see <http://www.gnu.org/licenses/>. // |
|
18 | 18 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
19 | 19 |
|
20 | 20 |
package org.distorted.library.effect; |
src/main/java/org/distorted/library/effect/MatrixEffectMove.java | ||
---|---|---|
1 | 1 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
2 | 2 |
// Copyright 2017 Leszek Koltunski // |
3 | 3 |
// // |
4 |
// This file is part of DistortedLibrary. //
|
|
4 |
// This file is part of Distorted. // |
|
5 | 5 |
// // |
6 |
// DistortedLibrary is free software: you can redistribute it and/or modify //
|
|
6 |
// Distorted is free software: you can redistribute it and/or modify // |
|
7 | 7 |
// it under the terms of the GNU General Public License as published by // |
8 | 8 |
// the Free Software Foundation, either version 2 of the License, or // |
9 | 9 |
// (at your option) any later version. // |
10 | 10 |
// // |
11 |
// DistortedLibrary is distributed in the hope that it will be useful, //
|
|
11 |
// Distorted is distributed in the hope that it will be useful, // |
|
12 | 12 |
// but WITHOUT ANY WARRANTY; without even the implied warranty of // |
13 | 13 |
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // |
14 | 14 |
// GNU General Public License for more details. // |
15 | 15 |
// // |
16 | 16 |
// You should have received a copy of the GNU General Public License // |
17 |
// along with DistortedLibrary. If not, see <http://www.gnu.org/licenses/>. //
|
|
17 |
// along with Distorted. If not, see <http://www.gnu.org/licenses/>. // |
|
18 | 18 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
19 | 19 |
|
20 | 20 |
package org.distorted.library.effect; |
src/main/java/org/distorted/library/effect/MatrixEffectQuaternion.java | ||
---|---|---|
1 | 1 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
2 | 2 |
// Copyright 2017 Leszek Koltunski // |
3 | 3 |
// // |
4 |
// This file is part of DistortedLibrary. //
|
|
4 |
// This file is part of Distorted. // |
|
5 | 5 |
// // |
6 |
// DistortedLibrary is free software: you can redistribute it and/or modify //
|
|
6 |
// Distorted is free software: you can redistribute it and/or modify // |
|
7 | 7 |
// it under the terms of the GNU General Public License as published by // |
8 | 8 |
// the Free Software Foundation, either version 2 of the License, or // |
9 | 9 |
// (at your option) any later version. // |
10 | 10 |
// // |
11 |
// DistortedLibrary is distributed in the hope that it will be useful, //
|
|
11 |
// Distorted is distributed in the hope that it will be useful, // |
|
12 | 12 |
// but WITHOUT ANY WARRANTY; without even the implied warranty of // |
13 | 13 |
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // |
14 | 14 |
// GNU General Public License for more details. // |
15 | 15 |
// // |
16 | 16 |
// You should have received a copy of the GNU General Public License // |
17 |
// along with DistortedLibrary. If not, see <http://www.gnu.org/licenses/>. //
|
|
17 |
// along with Distorted. If not, see <http://www.gnu.org/licenses/>. // |
|
18 | 18 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
19 | 19 |
|
20 | 20 |
package org.distorted.library.effect; |
src/main/java/org/distorted/library/effect/MatrixEffectRotate.java | ||
---|---|---|
1 | 1 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
2 | 2 |
// Copyright 2017 Leszek Koltunski // |
3 | 3 |
// // |
4 |
// This file is part of DistortedLibrary. //
|
|
4 |
// This file is part of Distorted. // |
|
5 | 5 |
// // |
6 |
// DistortedLibrary is free software: you can redistribute it and/or modify //
|
|
6 |
// Distorted is free software: you can redistribute it and/or modify // |
|
7 | 7 |
// it under the terms of the GNU General Public License as published by // |
8 | 8 |
// the Free Software Foundation, either version 2 of the License, or // |
9 | 9 |
// (at your option) any later version. // |
10 | 10 |
// // |
11 |
// DistortedLibrary is distributed in the hope that it will be useful, //
|
|
11 |
// Distorted is distributed in the hope that it will be useful, // |
|
12 | 12 |
// but WITHOUT ANY WARRANTY; without even the implied warranty of // |
13 | 13 |
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // |
14 | 14 |
// GNU General Public License for more details. // |
15 | 15 |
// // |
16 | 16 |
// You should have received a copy of the GNU General Public License // |
17 |
// along with DistortedLibrary. If not, see <http://www.gnu.org/licenses/>. //
|
|
17 |
// along with Distorted. If not, see <http://www.gnu.org/licenses/>. // |
|
18 | 18 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
19 | 19 |
|
20 | 20 |
package org.distorted.library.effect; |
src/main/java/org/distorted/library/effect/MatrixEffectScale.java | ||
---|---|---|
1 | 1 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
2 | 2 |
// Copyright 2017 Leszek Koltunski // |
3 | 3 |
// // |
4 |
// This file is part of DistortedLibrary. //
|
|
4 |
// This file is part of Distorted. // |
|
5 | 5 |
// // |
6 |
// DistortedLibrary is free software: you can redistribute it and/or modify //
|
|
6 |
// Distorted is free software: you can redistribute it and/or modify // |
|
7 | 7 |
// it under the terms of the GNU General Public License as published by // |
8 | 8 |
// the Free Software Foundation, either version 2 of the License, or // |
9 | 9 |
// (at your option) any later version. // |
10 | 10 |
// // |
11 |
// DistortedLibrary is distributed in the hope that it will be useful, //
|
|
11 |
// Distorted is distributed in the hope that it will be useful, // |
|
12 | 12 |
// but WITHOUT ANY WARRANTY; without even the implied warranty of // |
13 | 13 |
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // |
14 | 14 |
// GNU General Public License for more details. // |
15 | 15 |
// // |
16 | 16 |
// You should have received a copy of the GNU General Public License // |
17 |
// along with DistortedLibrary. If not, see <http://www.gnu.org/licenses/>. //
|
|
17 |
// along with Distorted. If not, see <http://www.gnu.org/licenses/>. // |
|
18 | 18 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
19 | 19 |
|
20 | 20 |
package org.distorted.library.effect; |
src/main/java/org/distorted/library/effect/MatrixEffectShear.java | ||
---|---|---|
1 | 1 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
2 | 2 |
// Copyright 2017 Leszek Koltunski // |
3 | 3 |
// // |
4 |
// This file is part of DistortedLibrary. //
|
|
4 |
// This file is part of Distorted. // |
|
5 | 5 |
// // |
6 |
// DistortedLibrary is free software: you can redistribute it and/or modify //
|
|
6 |
// Distorted is free software: you can redistribute it and/or modify // |
|
7 | 7 |
// it under the terms of the GNU General Public License as published by // |
8 | 8 |
// the Free Software Foundation, either version 2 of the License, or // |
9 | 9 |
// (at your option) any later version. // |
10 | 10 |
// // |
11 |
// DistortedLibrary is distributed in the hope that it will be useful, //
|
|
11 |
// Distorted is distributed in the hope that it will be useful, // |
|
12 | 12 |
// but WITHOUT ANY WARRANTY; without even the implied warranty of // |
13 | 13 |
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // |
14 | 14 |
// GNU General Public License for more details. // |
15 | 15 |
// // |
16 | 16 |
// You should have received a copy of the GNU General Public License // |
17 |
// along with DistortedLibrary. If not, see <http://www.gnu.org/licenses/>. //
|
|
17 |
// along with Distorted. If not, see <http://www.gnu.org/licenses/>. // |
|
18 | 18 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
19 | 19 |
|
20 | 20 |
package org.distorted.library.effect; |
src/main/java/org/distorted/library/effect/PostprocessEffect.java | ||
---|---|---|
1 | 1 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
2 | 2 |
// Copyright 2017 Leszek Koltunski // |
3 | 3 |
// // |
4 |
// This file is part of DistortedLibrary. //
|
|
4 |
// This file is part of Distorted. // |
|
5 | 5 |
// // |
6 |
// DistortedLibrary is free software: you can redistribute it and/or modify //
|
|
6 |
// Distorted is free software: you can redistribute it and/or modify // |
|
7 | 7 |
// it under the terms of the GNU General Public License as published by // |
8 | 8 |
// the Free Software Foundation, either version 2 of the License, or // |
9 | 9 |
// (at your option) any later version. // |
10 | 10 |
// // |
11 |
// DistortedLibrary is distributed in the hope that it will be useful, //
|
|
11 |
// Distorted is distributed in the hope that it will be useful, // |
|
12 | 12 |
// but WITHOUT ANY WARRANTY; without even the implied warranty of // |
13 | 13 |
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // |
14 | 14 |
// GNU General Public License for more details. // |
15 | 15 |
// // |
16 | 16 |
// You should have received a copy of the GNU General Public License // |
17 |
// along with DistortedLibrary. If not, see <http://www.gnu.org/licenses/>. //
|
|
17 |
// along with Distorted. If not, see <http://www.gnu.org/licenses/>. // |
|
18 | 18 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
19 | 19 |
|
20 | 20 |
package org.distorted.library.effect; |
src/main/java/org/distorted/library/effect/PostprocessEffectBlur.java | ||
---|---|---|
1 | 1 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
2 | 2 |
// Copyright 2017 Leszek Koltunski // |
3 | 3 |
// // |
4 |
// This file is part of DistortedLibrary. //
|
|
4 |
// This file is part of Distorted. // |
|
5 | 5 |
// // |
6 |
// DistortedLibrary is free software: you can redistribute it and/or modify //
|
|
6 |
// Distorted is free software: you can redistribute it and/or modify // |
|
7 | 7 |
// it under the terms of the GNU General Public License as published by // |
8 | 8 |
// the Free Software Foundation, either version 2 of the License, or // |
9 | 9 |
// (at your option) any later version. // |
10 | 10 |
// // |
11 |
// DistortedLibrary is distributed in the hope that it will be useful, //
|
|
11 |
// Distorted is distributed in the hope that it will be useful, // |
|
12 | 12 |
// but WITHOUT ANY WARRANTY; without even the implied warranty of // |
13 | 13 |
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // |
14 | 14 |
// GNU General Public License for more details. // |
15 | 15 |
// // |
16 | 16 |
// You should have received a copy of the GNU General Public License // |
17 |
// along with DistortedLibrary. If not, see <http://www.gnu.org/licenses/>. //
|
|
17 |
// along with Distorted. If not, see <http://www.gnu.org/licenses/>. // |
|
18 | 18 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
19 | 19 |
|
20 | 20 |
package org.distorted.library.effect; |
src/main/java/org/distorted/library/effect/PostprocessEffectGlow.java | ||
---|---|---|
1 | 1 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
2 | 2 |
// Copyright 2017 Leszek Koltunski // |
3 | 3 |
// // |
4 |
// This file is part of DistortedLibrary. //
|
|
4 |
// This file is part of Distorted. // |
|
5 | 5 |
// // |
6 |
// DistortedLibrary is free software: you can redistribute it and/or modify //
|
|
6 |
// Distorted is free software: you can redistribute it and/or modify // |
|
7 | 7 |
// it under the terms of the GNU General Public License as published by // |
8 | 8 |
// the Free Software Foundation, either version 2 of the License, or // |
9 | 9 |
// (at your option) any later version. // |
10 | 10 |
// // |
11 |
// DistortedLibrary is distributed in the hope that it will be useful, //
|
|
11 |
// Distorted is distributed in the hope that it will be useful, // |
|
12 | 12 |
// but WITHOUT ANY WARRANTY; without even the implied warranty of // |
13 | 13 |
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // |
14 | 14 |
// GNU General Public License for more details. // |
15 | 15 |
// // |
16 | 16 |
// You should have received a copy of the GNU General Public License // |
17 |
// along with DistortedLibrary. If not, see <http://www.gnu.org/licenses/>. //
|
|
17 |
// along with Distorted. If not, see <http://www.gnu.org/licenses/>. // |
|
18 | 18 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
19 | 19 |
|
20 | 20 |
package org.distorted.library.effect; |
src/main/java/org/distorted/library/effect/VertexEffect.java | ||
---|---|---|
1 | 1 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
2 | 2 |
// Copyright 2017 Leszek Koltunski // |
3 | 3 |
// // |
4 |
// This file is part of DistortedLibrary. //
|
|
4 |
// This file is part of Distorted. // |
|
5 | 5 |
// // |
6 |
// DistortedLibrary is free software: you can redistribute it and/or modify //
|
|
6 |
// Distorted is free software: you can redistribute it and/or modify // |
|
7 | 7 |
// it under the terms of the GNU General Public License as published by // |
8 | 8 |
// the Free Software Foundation, either version 2 of the License, or // |
9 | 9 |
// (at your option) any later version. // |
10 | 10 |
// // |
11 |
// DistortedLibrary is distributed in the hope that it will be useful, //
|
|
11 |
// Distorted is distributed in the hope that it will be useful, // |
|
12 | 12 |
// but WITHOUT ANY WARRANTY; without even the implied warranty of // |
13 | 13 |
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // |
14 | 14 |
// GNU General Public License for more details. // |
15 | 15 |
// // |
16 | 16 |
// You should have received a copy of the GNU General Public License // |
17 |
// along with DistortedLibrary. If not, see <http://www.gnu.org/licenses/>. //
|
|
17 |
// along with Distorted. If not, see <http://www.gnu.org/licenses/>. // |
|
18 | 18 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
19 | 19 |
|
20 | 20 |
package org.distorted.library.effect; |
src/main/java/org/distorted/library/effect/VertexEffectDeform.java | ||
---|---|---|
1 | 1 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
2 | 2 |
// Copyright 2017 Leszek Koltunski // |
3 | 3 |
// // |
4 |
// This file is part of DistortedLibrary. //
|
|
4 |
// This file is part of Distorted. // |
|
5 | 5 |
// // |
6 |
// DistortedLibrary is free software: you can redistribute it and/or modify //
|
|
6 |
// Distorted is free software: you can redistribute it and/or modify // |
|
7 | 7 |
// it under the terms of the GNU General Public License as published by // |
8 | 8 |
// the Free Software Foundation, either version 2 of the License, or // |
9 | 9 |
// (at your option) any later version. // |
10 | 10 |
// // |
11 |
// DistortedLibrary is distributed in the hope that it will be useful, //
|
|
11 |
// Distorted is distributed in the hope that it will be useful, // |
|
12 | 12 |
// but WITHOUT ANY WARRANTY; without even the implied warranty of // |
13 | 13 |
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // |
14 | 14 |
// GNU General Public License for more details. // |
15 | 15 |
// // |
16 | 16 |
// You should have received a copy of the GNU General Public License // |
17 |
// along with DistortedLibrary. If not, see <http://www.gnu.org/licenses/>. //
|
|
17 |
// along with Distorted. If not, see <http://www.gnu.org/licenses/>. // |
|
18 | 18 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
19 | 19 |
|
20 | 20 |
package org.distorted.library.effect; |
src/main/java/org/distorted/library/effect/VertexEffectDistort.java | ||
---|---|---|
1 | 1 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
2 | 2 |
// Copyright 2017 Leszek Koltunski // |
3 | 3 |
// // |
4 |
// This file is part of DistortedLibrary. //
|
|
4 |
// This file is part of Distorted. // |
|
5 | 5 |
// // |
6 |
// DistortedLibrary is free software: you can redistribute it and/or modify //
|
|
6 |
// Distorted is free software: you can redistribute it and/or modify // |
|
7 | 7 |
// it under the terms of the GNU General Public License as published by // |
8 | 8 |
// the Free Software Foundation, either version 2 of the License, or // |
9 | 9 |
// (at your option) any later version. // |
10 | 10 |
// // |
11 |
// DistortedLibrary is distributed in the hope that it will be useful, //
|
|
11 |
// Distorted is distributed in the hope that it will be useful, // |
|
12 | 12 |
// but WITHOUT ANY WARRANTY; without even the implied warranty of // |
13 | 13 |
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // |
14 | 14 |
// GNU General Public License for more details. // |
15 | 15 |
// // |
16 | 16 |
// You should have received a copy of the GNU General Public License // |
17 |
// along with DistortedLibrary. If not, see <http://www.gnu.org/licenses/>. //
|
|
17 |
// along with Distorted. If not, see <http://www.gnu.org/licenses/>. // |
|
18 | 18 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
19 | 19 |
|
20 | 20 |
package org.distorted.library.effect; |
src/main/java/org/distorted/library/effect/VertexEffectPinch.java | ||
---|---|---|
1 | 1 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
2 | 2 |
// Copyright 2017 Leszek Koltunski // |
3 | 3 |
// // |
4 |
// This file is part of DistortedLibrary. //
|
|
4 |
// This file is part of Distorted. // |
|
5 | 5 |
// // |
6 |
// DistortedLibrary is free software: you can redistribute it and/or modify //
|
|
6 |
// Distorted is free software: you can redistribute it and/or modify // |
|
7 | 7 |
// it under the terms of the GNU General Public License as published by // |
8 | 8 |
// the Free Software Foundation, either version 2 of the License, or // |
9 | 9 |
// (at your option) any later version. // |
10 | 10 |
// // |
11 |
// DistortedLibrary is distributed in the hope that it will be useful, //
|
|
11 |
// Distorted is distributed in the hope that it will be useful, // |
|
12 | 12 |
// but WITHOUT ANY WARRANTY; without even the implied warranty of // |
13 | 13 |
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // |
14 | 14 |
// GNU General Public License for more details. // |
15 | 15 |
// // |
16 | 16 |
// You should have received a copy of the GNU General Public License // |
17 |
// along with DistortedLibrary. If not, see <http://www.gnu.org/licenses/>. //
|
|
17 |
// along with Distorted. If not, see <http://www.gnu.org/licenses/>. // |
|
18 | 18 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
19 | 19 |
|
20 | 20 |
package org.distorted.library.effect; |
src/main/java/org/distorted/library/effect/VertexEffectSink.java | ||
---|---|---|
1 | 1 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
2 | 2 |
// Copyright 2017 Leszek Koltunski // |
3 | 3 |
// // |
4 |
// This file is part of DistortedLibrary. //
|
|
4 |
// This file is part of Distorted. // |
|
5 | 5 |
// // |
6 |
// DistortedLibrary is free software: you can redistribute it and/or modify //
|
|
6 |
// Distorted is free software: you can redistribute it and/or modify // |
|
7 | 7 |
// it under the terms of the GNU General Public License as published by // |
8 | 8 |
// the Free Software Foundation, either version 2 of the License, or // |
9 | 9 |
// (at your option) any later version. // |
10 | 10 |
// // |
11 |
// DistortedLibrary is distributed in the hope that it will be useful, //
|
|
11 |
// Distorted is distributed in the hope that it will be useful, // |
|
12 | 12 |
// but WITHOUT ANY WARRANTY; without even the implied warranty of // |
13 | 13 |
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // |
14 | 14 |
// GNU General Public License for more details. // |
15 | 15 |
// // |
16 | 16 |
// You should have received a copy of the GNU General Public License // |
17 |
// along with DistortedLibrary. If not, see <http://www.gnu.org/licenses/>. //
|
|
17 |
// along with Distorted. If not, see <http://www.gnu.org/licenses/>. // |
|
18 | 18 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
19 | 19 |
|
20 | 20 |
package org.distorted.library.effect; |
src/main/java/org/distorted/library/effect/VertexEffectSwirl.java | ||
---|---|---|
1 | 1 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
2 | 2 |
// Copyright 2017 Leszek Koltunski // |
3 | 3 |
// // |
4 |
// This file is part of DistortedLibrary. //
|
|
4 |
// This file is part of Distorted. // |
|
5 | 5 |
// // |
6 |
// DistortedLibrary is free software: you can redistribute it and/or modify //
|
|
6 |
// Distorted is free software: you can redistribute it and/or modify // |
|
7 | 7 |
// it under the terms of the GNU General Public License as published by // |
8 | 8 |
// the Free Software Foundation, either version 2 of the License, or // |
9 | 9 |
// (at your option) any later version. // |
10 | 10 |
// // |
11 |
// DistortedLibrary is distributed in the hope that it will be useful, //
|
|
11 |
// Distorted is distributed in the hope that it will be useful, // |
|
12 | 12 |
// but WITHOUT ANY WARRANTY; without even the implied warranty of // |
13 | 13 |
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // |
14 | 14 |
// GNU General Public License for more details. // |
15 | 15 |
// // |
16 | 16 |
// You should have received a copy of the GNU General Public License // |
17 |
// along with DistortedLibrary. If not, see <http://www.gnu.org/licenses/>. //
|
|
17 |
// along with Distorted. If not, see <http://www.gnu.org/licenses/>. // |
|
18 | 18 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
19 | 19 |
|
20 | 20 |
package org.distorted.library.effect; |
src/main/java/org/distorted/library/effect/VertexEffectWave.java | ||
---|---|---|
1 | 1 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
2 | 2 |
// Copyright 2017 Leszek Koltunski // |
3 | 3 |
// // |
4 |
// This file is part of DistortedLibrary. //
|
|
4 |
// This file is part of Distorted. // |
|
5 | 5 |
// // |
6 |
// DistortedLibrary is free software: you can redistribute it and/or modify //
|
|
6 |
// Distorted is free software: you can redistribute it and/or modify // |
|
7 | 7 |
// it under the terms of the GNU General Public License as published by // |
8 | 8 |
// the Free Software Foundation, either version 2 of the License, or // |
9 | 9 |
// (at your option) any later version. // |
10 | 10 |
// // |
11 |
// DistortedLibrary is distributed in the hope that it will be useful, //
|
|
11 |
// Distorted is distributed in the hope that it will be useful, // |
|
12 | 12 |
// but WITHOUT ANY WARRANTY; without even the implied warranty of // |
13 | 13 |
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // |
14 | 14 |
// GNU General Public License for more details. // |
15 | 15 |
// // |
16 | 16 |
// You should have received a copy of the GNU General Public License // |
17 |
// along with DistortedLibrary. If not, see <http://www.gnu.org/licenses/>. //
|
|
17 |
// along with Distorted. If not, see <http://www.gnu.org/licenses/>. // |
|
18 | 18 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
19 | 19 |
|
20 | 20 |
package org.distorted.library.effect; |
src/main/java/org/distorted/library/effectqueue/EffectQueue.java | ||
---|---|---|
1 | 1 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
2 | 2 |
// Copyright 2016 Leszek Koltunski // |
3 | 3 |
// // |
4 |
// This file is part of DistortedLibrary. //
|
|
4 |
// This file is part of Distorted. // |
|
5 | 5 |
// // |
6 |
// DistortedLibrary is free software: you can redistribute it and/or modify //
|
|
6 |
// Distorted is free software: you can redistribute it and/or modify // |
|
7 | 7 |
// it under the terms of the GNU General Public License as published by // |
8 | 8 |
// the Free Software Foundation, either version 2 of the License, or // |
9 | 9 |
// (at your option) any later version. // |
10 | 10 |
// // |
11 |
// DistortedLibrary is distributed in the hope that it will be useful, //
|
|
11 |
// Distorted is distributed in the hope that it will be useful, // |
|
12 | 12 |
// but WITHOUT ANY WARRANTY; without even the implied warranty of // |
13 | 13 |
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // |
14 | 14 |
// GNU General Public License for more details. // |
15 | 15 |
// // |
16 | 16 |
// You should have received a copy of the GNU General Public License // |
17 |
// along with DistortedLibrary. If not, see <http://www.gnu.org/licenses/>. //
|
|
17 |
// along with Distorted. If not, see <http://www.gnu.org/licenses/>. // |
|
18 | 18 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
19 | 19 |
|
20 | 20 |
package org.distorted.library.effectqueue; |
src/main/java/org/distorted/library/effectqueue/EffectQueueFragment.java | ||
---|---|---|
1 | 1 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
2 | 2 |
// Copyright 2016 Leszek Koltunski // |
3 | 3 |
// // |
4 |
// This file is part of DistortedLibrary. //
|
|
4 |
// This file is part of Distorted. // |
|
5 | 5 |
// // |
6 |
// DistortedLibrary is free software: you can redistribute it and/or modify //
|
|
6 |
// Distorted is free software: you can redistribute it and/or modify // |
|
7 | 7 |
// it under the terms of the GNU General Public License as published by // |
8 | 8 |
// the Free Software Foundation, either version 2 of the License, or // |
9 | 9 |
// (at your option) any later version. // |
10 | 10 |
// // |
11 |
// DistortedLibrary is distributed in the hope that it will be useful, //
|
|
11 |
// Distorted is distributed in the hope that it will be useful, // |
|
12 | 12 |
// but WITHOUT ANY WARRANTY; without even the implied warranty of // |
13 | 13 |
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // |
14 | 14 |
// GNU General Public License for more details. // |
15 | 15 |
// // |
16 | 16 |
// You should have received a copy of the GNU General Public License // |
17 |
// along with DistortedLibrary. If not, see <http://www.gnu.org/licenses/>. //
|
|
17 |
// along with Distorted. If not, see <http://www.gnu.org/licenses/>. // |
|
18 | 18 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
19 | 19 |
|
20 | 20 |
package org.distorted.library.effectqueue; |
src/main/java/org/distorted/library/effectqueue/EffectQueueMatrix.java | ||
---|---|---|
1 | 1 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
2 | 2 |
// Copyright 2016 Leszek Koltunski // |
3 | 3 |
// // |
4 |
// This file is part of DistortedLibrary. //
|
|
4 |
// This file is part of Distorted. // |
|
5 | 5 |
// // |
6 |
// DistortedLibrary is free software: you can redistribute it and/or modify //
|
|
6 |
// Distorted is free software: you can redistribute it and/or modify // |
|
7 | 7 |
// it under the terms of the GNU General Public License as published by // |
8 | 8 |
// the Free Software Foundation, either version 2 of the License, or // |
9 | 9 |
// (at your option) any later version. // |
10 | 10 |
// // |
11 |
// DistortedLibrary is distributed in the hope that it will be useful, //
|
|
11 |
// Distorted is distributed in the hope that it will be useful, // |
|
12 | 12 |
// but WITHOUT ANY WARRANTY; without even the implied warranty of // |
13 | 13 |
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // |
14 | 14 |
// GNU General Public License for more details. // |
15 | 15 |
// // |
16 | 16 |
// You should have received a copy of the GNU General Public License // |
17 |
// along with DistortedLibrary. If not, see <http://www.gnu.org/licenses/>. //
|
|
17 |
// along with Distorted. If not, see <http://www.gnu.org/licenses/>. // |
|
18 | 18 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
19 | 19 |
|
20 | 20 |
package org.distorted.library.effectqueue; |
src/main/java/org/distorted/library/effectqueue/EffectQueuePostprocess.java | ||
---|---|---|
1 | 1 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
2 | 2 |
// Copyright 2016 Leszek Koltunski // |
3 | 3 |
// // |
4 |
// This file is part of DistortedLibrary. //
|
|
4 |
// This file is part of Distorted. // |
|
5 | 5 |
// // |
6 |
// DistortedLibrary is free software: you can redistribute it and/or modify //
|
|
6 |
// Distorted is free software: you can redistribute it and/or modify // |
|
7 | 7 |
// it under the terms of the GNU General Public License as published by // |
8 | 8 |
// the Free Software Foundation, either version 2 of the License, or // |
9 | 9 |
// (at your option) any later version. // |
10 | 10 |
// // |
11 |
// DistortedLibrary is distributed in the hope that it will be useful, //
|
|
11 |
// Distorted is distributed in the hope that it will be useful, // |
|
12 | 12 |
// but WITHOUT ANY WARRANTY; without even the implied warranty of // |
13 | 13 |
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // |
14 | 14 |
// GNU General Public License for more details. // |
15 | 15 |
// // |
16 | 16 |
// You should have received a copy of the GNU General Public License // |
17 |
// along with DistortedLibrary. If not, see <http://www.gnu.org/licenses/>. //
|
|
17 |
// along with Distorted. If not, see <http://www.gnu.org/licenses/>. // |
|
18 | 18 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
19 | 19 |
|
20 | 20 |
package org.distorted.library.effectqueue; |
src/main/java/org/distorted/library/effectqueue/EffectQueueVertex.java | ||
---|---|---|
1 | 1 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
2 | 2 |
// Copyright 2016 Leszek Koltunski // |
3 | 3 |
// // |
4 |
// This file is part of DistortedLibrary. //
|
|
4 |
// This file is part of Distorted. // |
|
5 | 5 |
// // |
6 |
// DistortedLibrary is free software: you can redistribute it and/or modify //
|
|
6 |
// Distorted is free software: you can redistribute it and/or modify // |
|
7 | 7 |
// it under the terms of the GNU General Public License as published by // |
8 | 8 |
// the Free Software Foundation, either version 2 of the License, or // |
9 | 9 |
// (at your option) any later version. // |
10 | 10 |
// // |
11 |
// DistortedLibrary is distributed in the hope that it will be useful, //
|
|
11 |
// Distorted is distributed in the hope that it will be useful, // |
|
12 | 12 |
// but WITHOUT ANY WARRANTY; without even the implied warranty of // |
13 | 13 |
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // |
14 | 14 |
// GNU General Public License for more details. // |
15 | 15 |
// // |
16 | 16 |
// You should have received a copy of the GNU General Public License // |
17 |
// along with DistortedLibrary. If not, see <http://www.gnu.org/licenses/>. //
|
|
17 |
// along with Distorted. If not, see <http://www.gnu.org/licenses/>. // |
|
18 | 18 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
19 | 19 |
|
20 | 20 |
package org.distorted.library.effectqueue; |
src/main/java/org/distorted/library/main/DistortedEffects.java | ||
---|---|---|
1 | 1 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
2 | 2 |
// Copyright 2016 Leszek Koltunski // |
3 | 3 |
// // |
4 |
// This file is part of DistortedLibrary. //
|
|
4 |
// This file is part of Distorted. // |
|
5 | 5 |
// // |
6 |
// DistortedLibrary is free software: you can redistribute it and/or modify //
|
|
6 |
// Distorted is free software: you can redistribute it and/or modify // |
|
7 | 7 |
// it under the terms of the GNU General Public License as published by // |
8 | 8 |
// the Free Software Foundation, either version 2 of the License, or // |
9 | 9 |
// (at your option) any later version. // |
10 | 10 |
// // |
11 |
// DistortedLibrary is distributed in the hope that it will be useful, //
|
|
11 |
// Distorted is distributed in the hope that it will be useful, // |
|
12 | 12 |
// but WITHOUT ANY WARRANTY; without even the implied warranty of // |
13 | 13 |
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // |
14 | 14 |
// GNU General Public License for more details. // |
15 | 15 |
// // |
16 | 16 |
// You should have received a copy of the GNU General Public License // |
17 |
// along with DistortedLibrary. If not, see <http://www.gnu.org/licenses/>. //
|
|
17 |
// along with Distorted. If not, see <http://www.gnu.org/licenses/>. // |
|
18 | 18 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
19 | 19 |
|
20 | 20 |
package org.distorted.library.main; |
src/main/java/org/distorted/library/main/DistortedFramebuffer.java | ||
---|---|---|
1 | 1 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
2 | 2 |
// Copyright 2016 Leszek Koltunski // |
3 | 3 |
// // |
4 |
// This file is part of DistortedLibrary. //
|
|
4 |
// This file is part of Distorted. // |
|
5 | 5 |
// // |
6 |
// DistortedLibrary is free software: you can redistribute it and/or modify //
|
|
6 |
// Distorted is free software: you can redistribute it and/or modify // |
|
7 | 7 |
// it under the terms of the GNU General Public License as published by // |
8 | 8 |
// the Free Software Foundation, either version 2 of the License, or // |
9 | 9 |
// (at your option) any later version. // |
10 | 10 |
// // |
11 |
// DistortedLibrary is distributed in the hope that it will be useful, //
|
|
11 |
// Distorted is distributed in the hope that it will be useful, // |
|
12 | 12 |
// but WITHOUT ANY WARRANTY; without even the implied warranty of // |
13 | 13 |
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // |
14 | 14 |
// GNU General Public License for more details. // |
15 | 15 |
// // |
16 | 16 |
// You should have received a copy of the GNU General Public License // |
17 |
// along with DistortedLibrary. If not, see <http://www.gnu.org/licenses/>. //
|
|
17 |
// along with Distorted. If not, see <http://www.gnu.org/licenses/>. // |
|
18 | 18 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
19 | 19 |
|
20 | 20 |
package org.distorted.library.main; |
src/main/java/org/distorted/library/main/DistortedLibrary.java | ||
---|---|---|
1 | 1 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
2 | 2 |
// Copyright 2016 Leszek Koltunski // |
3 | 3 |
// // |
4 |
// This file is part of DistortedLibrary. //
|
|
4 |
// This file is part of Distorted. // |
|
5 | 5 |
// // |
6 |
// DistortedLibrary is free software: you can redistribute it and/or modify //
|
|
6 |
// Distorted is free software: you can redistribute it and/or modify // |
|
7 | 7 |
// it under the terms of the GNU General Public License as published by // |
8 | 8 |
// the Free Software Foundation, either version 2 of the License, or // |
9 | 9 |
// (at your option) any later version. // |
10 | 10 |
// // |
11 |
// DistortedLibrary is distributed in the hope that it will be useful, //
|
|
11 |
// Distorted is distributed in the hope that it will be useful, // |
|
12 | 12 |
// but WITHOUT ANY WARRANTY; without even the implied warranty of // |
13 | 13 |
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // |
14 | 14 |
// GNU General Public License for more details. // |
15 | 15 |
// // |
16 | 16 |
// You should have received a copy of the GNU General Public License // |
17 |
// along with DistortedLibrary. If not, see <http://www.gnu.org/licenses/>. //
|
|
17 |
// along with Distorted. If not, see <http://www.gnu.org/licenses/>. // |
|
18 | 18 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
19 | 19 |
|
20 | 20 |
package org.distorted.library.main; |
... | ... | |
439 | 439 |
GLES31.glUniform1i(DistortedLibrary.mMainOITTextureH, 0); |
440 | 440 |
GLES31.glUniform2ui(DistortedLibrary.mMainOITSizeH, surface.mWidth, surface.mHeight); |
441 | 441 |
GLES31.glUniform1ui(DistortedLibrary.mMainOITNumRecordsH, (int)(DistortedLibrary.mBufferSize*surface.mWidth*surface.mHeight) ); |
442 |
|
|
443 | 442 |
mesh.bindVertexAttribs(DistortedLibrary.mMainOITProgram); |
444 | 443 |
|
445 | 444 |
float inflate = mesh.getInflate(); |
... | ... | |
468 | 467 |
|
469 | 468 |
EffectQueue.compute(queues, currTime, halfW, halfH, halfZ ); |
470 | 469 |
GLES31.glViewport(0, 0, surface.mWidth, surface.mHeight ); |
470 |
|
|
471 | 471 |
DistortedLibrary.mMainProgram.useProgram(); |
472 | 472 |
GLES31.glUniform1i(DistortedLibrary.mMainTextureH, 0); |
473 | 473 |
mesh.bindVertexAttribs(DistortedLibrary.mMainProgram); |
... | ... | |
822 | 822 |
{ |
823 | 823 |
InternalObject.onDestroy(); |
824 | 824 |
InternalNodeData.onDestroy(); |
825 |
DistortedEffects.onDestroy(); |
|
826 | 825 |
InternalMaster.onDestroy(); |
827 | 826 |
InternalOutputSurface.onDestroy(); |
827 |
DistortedEffects.onDestroy(); |
|
828 | 828 |
EffectQueue.onDestroy(); |
829 | 829 |
Effect.onDestroy(); |
830 | 830 |
EffectMessageSender.stopSending(); |
src/main/java/org/distorted/library/main/DistortedNode.java | ||
---|---|---|
1 | 1 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
2 | 2 |
// Copyright 2016 Leszek Koltunski // |
3 | 3 |
// // |
4 |
// This file is part of DistortedLibrary. //
|
|
4 |
// This file is part of Distorted. // |
|
5 | 5 |
// // |
6 |
// DistortedLibrary is free software: you can redistribute it and/or modify //
|
|
6 |
// Distorted is free software: you can redistribute it and/or modify // |
|
7 | 7 |
// it under the terms of the GNU General Public License as published by // |
8 | 8 |
// the Free Software Foundation, either version 2 of the License, or // |
9 | 9 |
// (at your option) any later version. // |
10 | 10 |
// // |
11 |
// DistortedLibrary is distributed in the hope that it will be useful, //
|
|
11 |
// Distorted is distributed in the hope that it will be useful, // |
|
12 | 12 |
// but WITHOUT ANY WARRANTY; without even the implied warranty of // |
13 | 13 |
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // |
14 | 14 |
// GNU General Public License for more details. // |
15 | 15 |
// // |
16 | 16 |
// You should have received a copy of the GNU General Public License // |
17 |
// along with DistortedLibrary. If not, see <http://www.gnu.org/licenses/>. //
|
|
17 |
// along with Distorted. If not, see <http://www.gnu.org/licenses/>. // |
|
18 | 18 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
19 | 19 |
|
20 | 20 |
package org.distorted.library.main; |
... | ... | |
62 | 62 |
} |
63 | 63 |
|
64 | 64 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
65 |
// [3] --> the postprocessing queue. See EffectType. |
|
65 | 66 |
|
66 | 67 |
long getBucket() |
67 | 68 |
{ |
src/main/java/org/distorted/library/main/DistortedScreen.java | ||
---|---|---|
1 | 1 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
2 | 2 |
// Copyright 2016 Leszek Koltunski // |
3 | 3 |
// // |
4 |
// This file is part of DistortedLibrary. //
|
|
4 |
// This file is part of Distorted. // |
|
5 | 5 |
// // |
6 |
// DistortedLibrary is free software: you can redistribute it and/or modify //
|
|
6 |
// Distorted is free software: you can redistribute it and/or modify // |
|
7 | 7 |
// it under the terms of the GNU General Public License as published by // |
8 | 8 |
// the Free Software Foundation, either version 2 of the License, or // |
9 | 9 |
// (at your option) any later version. // |
10 | 10 |
// // |
11 |
// DistortedLibrary is distributed in the hope that it will be useful, //
|
|
11 |
// Distorted is distributed in the hope that it will be useful, // |
|
12 | 12 |
// but WITHOUT ANY WARRANTY; without even the implied warranty of // |
13 | 13 |
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // |
14 | 14 |
// GNU General Public License for more details. // |
15 | 15 |
// // |
16 | 16 |
// You should have received a copy of the GNU General Public License // |
17 |
// along with DistortedLibrary. If not, see <http://www.gnu.org/licenses/>. //
|
|
17 |
// along with Distorted. If not, see <http://www.gnu.org/licenses/>. // |
|
18 | 18 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
19 | 19 |
|
20 | 20 |
package org.distorted.library.main; |
src/main/java/org/distorted/library/main/DistortedTexture.java | ||
---|---|---|
1 | 1 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
2 | 2 |
// Copyright 2016 Leszek Koltunski // |
3 | 3 |
// // |
4 |
// This file is part of DistortedLibrary. //
|
|
4 |
// This file is part of Distorted. // |
|
5 | 5 |
// // |
6 |
// DistortedLibrary is free software: you can redistribute it and/or modify //
|
|
6 |
// Distorted is free software: you can redistribute it and/or modify // |
|
7 | 7 |
// it under the terms of the GNU General Public License as published by // |
8 | 8 |
// the Free Software Foundation, either version 2 of the License, or // |
9 | 9 |
// (at your option) any later version. // |
10 | 10 |
// // |
11 |
// DistortedLibrary is distributed in the hope that it will be useful, //
|
|
11 |
// Distorted is distributed in the hope that it will be useful, // |
|
12 | 12 |
// but WITHOUT ANY WARRANTY; without even the implied warranty of // |
13 | 13 |
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // |
14 | 14 |
// GNU General Public License for more details. // |
15 | 15 |
// // |
16 | 16 |
// You should have received a copy of the GNU General Public License // |
17 |
// along with DistortedLibrary. If not, see <http://www.gnu.org/licenses/>. //
|
|
17 |
// along with Distorted. If not, see <http://www.gnu.org/licenses/>. // |
|
18 | 18 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
19 | 19 |
|
20 | 20 |
package org.distorted.library.main; |
src/main/java/org/distorted/library/main/InternalBuffer.java | ||
---|---|---|
1 | 1 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
2 | 2 |
// Copyright 2018 Leszek Koltunski // |
3 | 3 |
// // |
4 |
// This file is part of DistortedLibrary. //
|
|
4 |
// This file is part of Distorted. // |
|
5 | 5 |
// // |
6 |
// DistortedLibrary is free software: you can redistribute it and/or modify //
|
|
6 |
// Distorted is free software: you can redistribute it and/or modify // |
|
7 | 7 |
// it under the terms of the GNU General Public License as published by // |
8 | 8 |
// the Free Software Foundation, either version 2 of the License, or // |
9 | 9 |
// (at your option) any later version. // |
10 | 10 |
// // |
11 |
// DistortedLibrary is distributed in the hope that it will be useful, //
|
|
11 |
// Distorted is distributed in the hope that it will be useful, // |
|
12 | 12 |
// but WITHOUT ANY WARRANTY; without even the implied warranty of // |
13 | 13 |
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // |
14 | 14 |
// GNU General Public License for more details. // |
15 | 15 |
// // |
16 | 16 |
// You should have received a copy of the GNU General Public License // |
17 |
// along with DistortedLibrary. If not, see <http://www.gnu.org/licenses/>. //
|
|
17 |
// along with Distorted. If not, see <http://www.gnu.org/licenses/>. // |
|
18 | 18 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
19 | 19 |
|
20 | 20 |
package org.distorted.library.main; |
src/main/java/org/distorted/library/main/InternalChildrenList.java | ||
---|---|---|
1 | 1 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
2 | 2 |
// Copyright 2019 Leszek Koltunski // |
3 | 3 |
// // |
4 |
// This file is part of DistortedLibrary. //
|
|
4 |
// This file is part of Distorted. // |
|
5 | 5 |
// // |
6 |
// DistortedLibrary is free software: you can redistribute it and/or modify //
|
|
6 |
// Distorted is free software: you can redistribute it and/or modify // |
|
7 | 7 |
// it under the terms of the GNU General Public License as published by // |
8 | 8 |
// the Free Software Foundation, either version 2 of the License, or // |
9 | 9 |
// (at your option) any later version. // |
10 | 10 |
// // |
11 |
// DistortedLibrary is distributed in the hope that it will be useful, //
|
|
11 |
// Distorted is distributed in the hope that it will be useful, // |
|
12 | 12 |
// but WITHOUT ANY WARRANTY; without even the implied warranty of // |
13 | 13 |
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // |
14 | 14 |
// GNU General Public License for more details. // |
15 | 15 |
// // |
16 | 16 |
// You should have received a copy of the GNU General Public License // |
17 |
// along with DistortedLibrary. If not, see <http://www.gnu.org/licenses/>. //
|
|
17 |
// along with Distorted. If not, see <http://www.gnu.org/licenses/>. // |
|
18 | 18 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
19 | 19 |
|
20 | 20 |
|
src/main/java/org/distorted/library/main/InternalMaster.java | ||
---|---|---|
1 | 1 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
2 | 2 |
// Copyright 2016 Leszek Koltunski // |
3 | 3 |
// // |
4 |
// This file is part of DistortedLibrary. //
|
|
4 |
// This file is part of Distorted. // |
|
5 | 5 |
// // |
6 |
// DistortedLibrary is free software: you can redistribute it and/or modify //
|
|
6 |
// Distorted is free software: you can redistribute it and/or modify // |
|
7 | 7 |
// it under the terms of the GNU General Public License as published by // |
8 | 8 |
// the Free Software Foundation, either version 2 of the License, or // |
9 | 9 |
// (at your option) any later version. // |
10 | 10 |
// // |
11 |
// DistortedLibrary is distributed in the hope that it will be useful, //
|
|
11 |
// Distorted is distributed in the hope that it will be useful, // |
|
12 | 12 |
// but WITHOUT ANY WARRANTY; without even the implied warranty of // |
13 | 13 |
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // |
14 | 14 |
// GNU General Public License for more details. // |
15 | 15 |
// // |
16 | 16 |
// You should have received a copy of the GNU General Public License // |
17 |
// along with DistortedLibrary. If not, see <http://www.gnu.org/licenses/>. //
|
|
17 |
// along with Distorted. If not, see <http://www.gnu.org/licenses/>. // |
|
18 | 18 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
19 | 19 |
|
20 | 20 |
package org.distorted.library.main; |
src/main/java/org/distorted/library/main/InternalNodeData.java | ||
---|---|---|
1 | 1 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
2 | 2 |
// Copyright 2019 Leszek Koltunski // |
3 | 3 |
// // |
4 |
// This file is part of DistortedLibrary. //
|
|
4 |
// This file is part of Distorted. // |
|
5 | 5 |
// // |
6 |
// DistortedLibrary is free software: you can redistribute it and/or modify //
|
|
6 |
// Distorted is free software: you can redistribute it and/or modify // |
|
7 | 7 |
// it under the terms of the GNU General Public License as published by // |
8 | 8 |
// the Free Software Foundation, either version 2 of the License, or // |
9 | 9 |
// (at your option) any later version. // |
10 | 10 |
// // |
11 |
// DistortedLibrary is distributed in the hope that it will be useful, //
|
|
11 |
// Distorted is distributed in the hope that it will be useful, // |
|
12 | 12 |
// but WITHOUT ANY WARRANTY; without even the implied warranty of // |
13 | 13 |
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // |
14 | 14 |
// GNU General Public License for more details. // |
15 | 15 |
// // |
16 | 16 |
// You should have received a copy of the GNU General Public License // |
17 |
// along with DistortedLibrary. If not, see <http://www.gnu.org/licenses/>. //
|
|
17 |
// along with Distorted. If not, see <http://www.gnu.org/licenses/>. // |
|
18 | 18 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
19 | 19 |
|
20 | 20 |
package org.distorted.library.main; |
src/main/java/org/distorted/library/main/InternalObject.java | ||
---|---|---|
1 | 1 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
2 | 2 |
// Copyright 2016 Leszek Koltunski // |
3 | 3 |
// // |
4 |
// This file is part of DistortedLibrary. //
|
|
4 |
// This file is part of Distorted. // |
|
5 | 5 |
// // |
6 |
// DistortedLibrary is free software: you can redistribute it and/or modify //
|
|
6 |
// Distorted is free software: you can redistribute it and/or modify // |
|
7 | 7 |
// it under the terms of the GNU General Public License as published by // |
8 | 8 |
// the Free Software Foundation, either version 2 of the License, or // |
9 | 9 |
// (at your option) any later version. // |
10 | 10 |
// // |
11 |
// DistortedLibrary is distributed in the hope that it will be useful, //
|
|
11 |
// Distorted is distributed in the hope that it will be useful, // |
|
12 | 12 |
// but WITHOUT ANY WARRANTY; without even the implied warranty of // |
13 | 13 |
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // |
14 | 14 |
// GNU General Public License for more details. // |
15 | 15 |
// // |
16 | 16 |
// You should have received a copy of the GNU General Public License // |
17 |
// along with DistortedLibrary. If not, see <http://www.gnu.org/licenses/>. //
|
|
17 |
// along with Distorted. If not, see <http://www.gnu.org/licenses/>. // |
|
18 | 18 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
19 | 19 |
|
20 | 20 |
package org.distorted.library.main; |
src/main/java/org/distorted/library/main/InternalOutputSurface.java | ||
---|---|---|
1 | 1 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
2 | 2 |
// Copyright 2016 Leszek Koltunski // |
3 | 3 |
// // |
4 |
// This file is part of DistortedLibrary. //
|
|
4 |
// This file is part of Distorted. // |
|
5 | 5 |
// // |
6 |
// DistortedLibrary is free software: you can redistribute it and/or modify //
|
|
6 |
// Distorted is free software: you can redistribute it and/or modify // |
|
7 | 7 |
// it under the terms of the GNU General Public License as published by // |
8 | 8 |
// the Free Software Foundation, either version 2 of the License, or // |
9 | 9 |
// (at your option) any later version. // |
10 | 10 |
// // |
11 |
// DistortedLibrary is distributed in the hope that it will be useful, //
|
|
11 |
// Distorted is distributed in the hope that it will be useful, // |
|
12 | 12 |
// but WITHOUT ANY WARRANTY; without even the implied warranty of // |
13 | 13 |
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // |
14 | 14 |
// GNU General Public License for more details. // |
15 | 15 |
// // |
16 | 16 |
// You should have received a copy of the GNU General Public License // |
17 |
// along with DistortedLibrary. If not, see <http://www.gnu.org/licenses/>. //
|
|
17 |
// along with Distorted. If not, see <http://www.gnu.org/licenses/>. // |
|
18 | 18 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
19 | 19 |
|
20 | 20 |
package org.distorted.library.main; |
... | ... | |
38 | 38 |
public static final int DEPTH_NO_STENCIL = 1; |
39 | 39 |
public static final int BOTH_DEPTH_STENCIL = 2; |
40 | 40 |
|
41 |
float mFOV, mDistance, mNear; |
|
41 |
float mFOV, mDistance, mNear, mMipmap;
|
|
42 | 42 |
float[] mProjectionMatrix; |
43 |
|
|
44 |
int mDepthStencilCreated; |
|
45 |
int mDepthStencil; |
|
46 |
int[] mDepthStencilH; |
|
47 |
int[] mFBOH; |
|
48 |
|
|
49 |
float mMipmap; |
|
50 |
|
|
51 |
int mRealWidth; // the Surface can be backed up with a texture that is |
|
52 |
int mRealHeight; // larger than the viewport we have to it. |
|
53 |
// mWidth,mHeight are the sizes of the Viewport, those - |
|
54 |
// sizes of the backing up texture. |
|
55 |
|
|
43 |
int mDepthStencilCreated, mDepthStencil; |
|
44 |
int[] mDepthStencilH, mFBOH; |
|
45 |
int mRealWidth; // the Surface can be backed up by a texture larger than the viewport we have to it. |
|
46 |
int mRealHeight; // mWidth,mHeight are the sizes of the Viewport, those - sizes of the backing up texture. |
|
56 | 47 |
int mCurrFBO; // internal current FBO (see DistortedLibrary.FBO_QUEUE_SIZE) |
57 | 48 |
|
58 | 49 |
private static DistortedFramebuffer[] mBuffer=null; // Global buffers used for postprocessing. |
src/main/java/org/distorted/library/main/InternalRenderState.java | ||
---|---|---|
1 | 1 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
2 | 2 |
// Copyright 2016 Leszek Koltunski // |
3 | 3 |
// // |
4 |
// This file is part of DistortedLibrary. //
|
|
4 |
// This file is part of Distorted. // |
|
5 | 5 |
// // |
6 |
// DistortedLibrary is free software: you can redistribute it and/or modify //
|
|
6 |
// Distorted is free software: you can redistribute it and/or modify // |
|
7 | 7 |
// it under the terms of the GNU General Public License as published by // |
8 | 8 |
// the Free Software Foundation, either version 2 of the License, or // |
9 | 9 |
// (at your option) any later version. // |
10 | 10 |
// // |
11 |
// DistortedLibrary is distributed in the hope that it will be useful, //
|
|
11 |
// Distorted is distributed in the hope that it will be useful, // |
|
12 | 12 |
// but WITHOUT ANY WARRANTY; without even the implied warranty of // |
13 | 13 |
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // |
14 | 14 |
// GNU General Public License for more details. // |
15 | 15 |
// // |
16 | 16 |
// You should have received a copy of the GNU General Public License // |
17 |
// along with DistortedLibrary. If not, see <http://www.gnu.org/licenses/>. //
|
|
17 |
// along with Distorted. If not, see <http://www.gnu.org/licenses/>. // |
|
18 | 18 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
19 | 19 |
|
20 | 20 |
package org.distorted.library.main; |
src/main/java/org/distorted/library/main/InternalSurface.java | ||
---|---|---|
1 | 1 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
2 | 2 |
// Copyright 2016 Leszek Koltunski // |
3 | 3 |
// // |
4 |
// This file is part of DistortedLibrary. //
|
|
4 |
// This file is part of Distorted. // |
|
5 | 5 |
// // |
6 |
// DistortedLibrary is free software: you can redistribute it and/or modify //
|
|
6 |
// Distorted is free software: you can redistribute it and/or modify // |
|
7 | 7 |
// it under the terms of the GNU General Public License as published by // |
8 | 8 |
// the Free Software Foundation, either version 2 of the License, or // |
9 | 9 |
// (at your option) any later version. // |
10 | 10 |
// // |
11 |
// DistortedLibrary is distributed in the hope that it will be useful, //
|
|
11 |
// Distorted is distributed in the hope that it will be useful, // |
|
12 | 12 |
// but WITHOUT ANY WARRANTY; without even the implied warranty of // |
13 | 13 |
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // |
14 | 14 |
// GNU General Public License for more details. // |
15 | 15 |
// // |
16 | 16 |
// You should have received a copy of the GNU General Public License // |
17 |
// along with DistortedLibrary. If not, see <http://www.gnu.org/licenses/>. //
|
|
17 |
// along with Distorted. If not, see <http://www.gnu.org/licenses/>. // |
|
18 | 18 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
19 | 19 |
|
20 | 20 |
package org.distorted.library.main; |
src/main/java/org/distorted/library/mesh/MeshBase.java | ||
---|---|---|
1 | 1 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
2 | 2 |
// Copyright 2016 Leszek Koltunski // |
3 | 3 |
// // |
4 |
// This file is part of DistortedLibrary. //
|
|
4 |
// This file is part of Distorted. // |
|
5 | 5 |
// // |
6 |
// DistortedLibrary is free software: you can redistribute it and/or modify //
|
|
6 |
// Distorted is free software: you can redistribute it and/or modify // |
|
7 | 7 |
// it under the terms of the GNU General Public License as published by // |
8 | 8 |
// the Free Software Foundation, either version 2 of the License, or // |
9 | 9 |
// (at your option) any later version. // |
10 | 10 |
// // |
11 |
// DistortedLibrary is distributed in the hope that it will be useful, //
|
|
11 |
// Distorted is distributed in the hope that it will be useful, // |
|
12 | 12 |
// but WITHOUT ANY WARRANTY; without even the implied warranty of // |
13 | 13 |
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // |
14 | 14 |
// GNU General Public License for more details. // |
15 | 15 |
// // |
16 | 16 |
// You should have received a copy of the GNU General Public License // |
17 |
// along with DistortedLibrary. If not, see <http://www.gnu.org/licenses/>. //
|
|
17 |
// along with Distorted. If not, see <http://www.gnu.org/licenses/>. // |
|
18 | 18 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
19 | 19 |
|
20 | 20 |
package org.distorted.library.mesh; |
... | ... | |
61 | 61 |
private static final int VERT_SIZE = VERT_ATTRIBS*BYTES_PER_FLOAT; |
62 | 62 |
|
63 | 63 |
private boolean mShowNormals; // when rendering this mesh, draw normal vectors? |
64 |
private InternalBuffer mVBO, mTFO; // main vertex buffer and transform feedback buffer |
|
64 |
private InternalBuffer mVBO, mTFO; // main vertex buffer and transform feedback buffer
|
|
65 | 65 |
private final float zFactor; // strange workaround for the fact that we need to somehow store the 'depth' |
66 | 66 |
// of the Mesh. Used in DistortedEffects. See DistortedTexture.getDepth(). |
67 | 67 |
private int mNumVertices; |
src/main/java/org/distorted/library/mesh/MeshCubes.java | ||
---|---|---|
1 | 1 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
2 | 2 |
// Copyright 2016 Leszek Koltunski // |
3 | 3 |
// // |
4 |
// This file is part of DistortedLibrary. //
|
|
4 |
// This file is part of Distorted. // |
|
5 | 5 |
// // |
6 |
// DistortedLibrary is free software: you can redistribute it and/or modify //
|
|
6 |
// Distorted is free software: you can redistribute it and/or modify // |
|
7 | 7 |
// it under the terms of the GNU General Public License as published by // |
8 | 8 |
// the Free Software Foundation, either version 2 of the License, or // |
9 | 9 |
// (at your option) any later version. // |
10 | 10 |
// // |
11 |
// DistortedLibrary is distributed in the hope that it will be useful, //
|
|
11 |
// Distorted is distributed in the hope that it will be useful, // |
|
12 | 12 |
// but WITHOUT ANY WARRANTY; without even the implied warranty of // |
13 | 13 |
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // |
14 | 14 |
// GNU General Public License for more details. // |
15 | 15 |
// // |
16 | 16 |
// You should have received a copy of the GNU General Public License // |
17 |
// along with DistortedLibrary. If not, see <http://www.gnu.org/licenses/>. //
|
|
17 |
// along with Distorted. If not, see <http://www.gnu.org/licenses/>. // |
|
18 | 18 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
19 | 19 |
|
20 | 20 |
package org.distorted.library.mesh; |
src/main/java/org/distorted/library/mesh/MeshFlat.java | ||
---|---|---|
1 | 1 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
2 | 2 |
// Copyright 2016 Leszek Koltunski // |
3 | 3 |
// // |
4 |
// This file is part of DistortedLibrary. //
|
|
4 |
// This file is part of Distorted. // |
|
5 | 5 |
// // |
6 |
// DistortedLibrary is free software: you can redistribute it and/or modify //
|
|
6 |
// Distorted is free software: you can redistribute it and/or modify // |
|
7 | 7 |
// it under the terms of the GNU General Public License as published by // |
8 | 8 |
// the Free Software Foundation, either version 2 of the License, or // |
9 | 9 |
// (at your option) any later version. // |
10 | 10 |
// // |
11 |
// DistortedLibrary is distributed in the hope that it will be useful, //
|
|
11 |
// Distorted is distributed in the hope that it will be useful, // |
|
12 | 12 |
// but WITHOUT ANY WARRANTY; without even the implied warranty of // |
13 | 13 |
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // |
14 | 14 |
// GNU General Public License for more details. // |
15 | 15 |
// // |
16 | 16 |
// You should have received a copy of the GNU General Public License // |
17 |
// along with DistortedLibrary. If not, see <http://www.gnu.org/licenses/>. //
|
|
17 |
// along with Distorted. If not, see <http://www.gnu.org/licenses/>. // |
|
18 | 18 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
19 | 19 |
|
20 | 20 |
package org.distorted.library.mesh; |
src/main/java/org/distorted/library/mesh/MeshQuad.java | ||
---|---|---|
1 | 1 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
2 | 2 |
// Copyright 2018 Leszek Koltunski // |
3 | 3 |
// // |
4 |
// This file is part of DistortedLibrary. //
|
|
4 |
// This file is part of Distorted. // |
|
5 | 5 |
// // |
6 |
// DistortedLibrary is free software: you can redistribute it and/or modify //
|
|
6 |
// Distorted is free software: you can redistribute it and/or modify // |
|
7 | 7 |
// it under the terms of the GNU General Public License as published by // |
8 | 8 |
// the Free Software Foundation, either version 2 of the License, or // |
9 | 9 |
// (at your option) any later version. // |
10 | 10 |
// // |
11 |
// DistortedLibrary is distributed in the hope that it will be useful, //
|
|
11 |
// Distorted is distributed in the hope that it will be useful, // |
|
12 | 12 |
// but WITHOUT ANY WARRANTY; without even the implied warranty of // |
13 | 13 |
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // |
14 | 14 |
// GNU General Public License for more details. // |
15 | 15 |
// // |
16 | 16 |
// You should have received a copy of the GNU General Public License // |
17 |
// along with DistortedLibrary. If not, see <http://www.gnu.org/licenses/>. //
|
|
17 |
// along with Distorted. If not, see <http://www.gnu.org/licenses/>. // |
|
18 | 18 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
19 | 19 |
|
20 | 20 |
package org.distorted.library.mesh; |
Also available in: Unified diff
Correct the Legal notice.