Revision c4d06f90
Added by Leszek Koltunski over 3 years ago
| src/main/java/org/distorted/library/mesh/DeferredJobs.java | ||
|---|---|---|
| 1 | 1 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
| 2 |
// Copyright 2020 Leszek Koltunski //
|
|
| 2 |
// Copyright 2020 Leszek Koltunski leszek@koltunski.pl //
|
|
| 3 | 3 |
// // |
| 4 | 4 |
// This file is part of Distorted. // |
| 5 | 5 |
// // |
| 6 |
// Distorted is free software: you can redistribute it and/or modify //
|
|
| 7 |
// it under the terms of the GNU General Public License as published by //
|
|
| 8 |
// the Free Software Foundation, either version 2 of the License, or //
|
|
| 9 |
// (at your option) any later version. //
|
|
| 6 |
// This library is free software; you can redistribute it and/or //
|
|
| 7 |
// modify it under the terms of the GNU Lesser General Public //
|
|
| 8 |
// License as published by the Free Software Foundation; either //
|
|
| 9 |
// version 2.1 of the License, or (at your option) any later version. //
|
|
| 10 | 10 |
// // |
| 11 |
// Distorted is distributed in the hope that it will be useful, //
|
|
| 11 |
// This library is distributed in the hope that it will be useful, //
|
|
| 12 | 12 |
// but WITHOUT ANY WARRANTY; without even the implied warranty of // |
| 13 |
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the //
|
|
| 14 |
// GNU General Public License for more details. //
|
|
| 13 |
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU //
|
|
| 14 |
// Lesser General Public License for more details. //
|
|
| 15 | 15 |
// // |
| 16 |
// You should have received a copy of the GNU General Public License // |
|
| 17 |
// along with Distorted. If not, see <http://www.gnu.org/licenses/>. // |
|
| 16 |
// You should have received a copy of the GNU Lesser General Public // |
|
| 17 |
// License along with this library; if not, write to the Free Software // |
|
| 18 |
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA // |
|
| 18 | 19 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
| 19 | 20 |
|
| 20 | 21 |
package org.distorted.library.mesh; |
| src/main/java/org/distorted/library/mesh/MeshBase.java | ||
|---|---|---|
| 1 | 1 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
| 2 |
// Copyright 2016 Leszek Koltunski //
|
|
| 2 |
// Copyright 2016 Leszek Koltunski leszek@koltunski.pl //
|
|
| 3 | 3 |
// // |
| 4 | 4 |
// This file is part of Distorted. // |
| 5 | 5 |
// // |
| 6 |
// Distorted is free software: you can redistribute it and/or modify //
|
|
| 7 |
// it under the terms of the GNU General Public License as published by //
|
|
| 8 |
// the Free Software Foundation, either version 2 of the License, or //
|
|
| 9 |
// (at your option) any later version. //
|
|
| 6 |
// This library is free software; you can redistribute it and/or //
|
|
| 7 |
// modify it under the terms of the GNU Lesser General Public //
|
|
| 8 |
// License as published by the Free Software Foundation; either //
|
|
| 9 |
// version 2.1 of the License, or (at your option) any later version. //
|
|
| 10 | 10 |
// // |
| 11 |
// Distorted is distributed in the hope that it will be useful, //
|
|
| 11 |
// This library is distributed in the hope that it will be useful, //
|
|
| 12 | 12 |
// but WITHOUT ANY WARRANTY; without even the implied warranty of // |
| 13 |
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the //
|
|
| 14 |
// GNU General Public License for more details. //
|
|
| 13 |
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU //
|
|
| 14 |
// Lesser General Public License for more details. //
|
|
| 15 | 15 |
// // |
| 16 |
// You should have received a copy of the GNU General Public License // |
|
| 17 |
// along with Distorted. If not, see <http://www.gnu.org/licenses/>. // |
|
| 16 |
// You should have received a copy of the GNU Lesser General Public // |
|
| 17 |
// License along with this library; if not, write to the Free Software // |
|
| 18 |
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA // |
|
| 18 | 19 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
| 19 | 20 |
|
| 20 | 21 |
package org.distorted.library.mesh; |
| src/main/java/org/distorted/library/mesh/MeshCubes.java | ||
|---|---|---|
| 1 | 1 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
| 2 |
// Copyright 2016 Leszek Koltunski //
|
|
| 2 |
// Copyright 2016 Leszek Koltunski leszek@koltunski.pl //
|
|
| 3 | 3 |
// // |
| 4 | 4 |
// This file is part of Distorted. // |
| 5 | 5 |
// // |
| 6 |
// Distorted is free software: you can redistribute it and/or modify //
|
|
| 7 |
// it under the terms of the GNU General Public License as published by //
|
|
| 8 |
// the Free Software Foundation, either version 2 of the License, or //
|
|
| 9 |
// (at your option) any later version. //
|
|
| 6 |
// This library is free software; you can redistribute it and/or //
|
|
| 7 |
// modify it under the terms of the GNU Lesser General Public //
|
|
| 8 |
// License as published by the Free Software Foundation; either //
|
|
| 9 |
// version 2.1 of the License, or (at your option) any later version. //
|
|
| 10 | 10 |
// // |
| 11 |
// Distorted is distributed in the hope that it will be useful, //
|
|
| 11 |
// This library is distributed in the hope that it will be useful, //
|
|
| 12 | 12 |
// but WITHOUT ANY WARRANTY; without even the implied warranty of // |
| 13 |
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the //
|
|
| 14 |
// GNU General Public License for more details. //
|
|
| 13 |
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU //
|
|
| 14 |
// Lesser General Public License for more details. //
|
|
| 15 | 15 |
// // |
| 16 |
// You should have received a copy of the GNU General Public License // |
|
| 17 |
// along with Distorted. If not, see <http://www.gnu.org/licenses/>. // |
|
| 16 |
// You should have received a copy of the GNU Lesser General Public // |
|
| 17 |
// License along with this library; if not, write to the Free Software // |
|
| 18 |
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA // |
|
| 18 | 19 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
| 19 | 20 |
|
| 20 | 21 |
package org.distorted.library.mesh; |
| src/main/java/org/distorted/library/mesh/MeshFile.java | ||
|---|---|---|
| 1 | 1 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
| 2 |
// Copyright 2020 Leszek Koltunski //
|
|
| 2 |
// Copyright 2020 Leszek Koltunski leszek@koltunski.pl //
|
|
| 3 | 3 |
// // |
| 4 | 4 |
// This file is part of Distorted. // |
| 5 | 5 |
// // |
| 6 |
// Distorted is free software: you can redistribute it and/or modify //
|
|
| 7 |
// it under the terms of the GNU General Public License as published by //
|
|
| 8 |
// the Free Software Foundation, either version 2 of the License, or //
|
|
| 9 |
// (at your option) any later version. //
|
|
| 6 |
// This library is free software; you can redistribute it and/or //
|
|
| 7 |
// modify it under the terms of the GNU Lesser General Public //
|
|
| 8 |
// License as published by the Free Software Foundation; either //
|
|
| 9 |
// version 2.1 of the License, or (at your option) any later version. //
|
|
| 10 | 10 |
// // |
| 11 |
// Distorted is distributed in the hope that it will be useful, //
|
|
| 11 |
// This library is distributed in the hope that it will be useful, //
|
|
| 12 | 12 |
// but WITHOUT ANY WARRANTY; without even the implied warranty of // |
| 13 |
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the //
|
|
| 14 |
// GNU General Public License for more details. //
|
|
| 13 |
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU //
|
|
| 14 |
// Lesser General Public License for more details. //
|
|
| 15 | 15 |
// // |
| 16 |
// You should have received a copy of the GNU General Public License // |
|
| 17 |
// along with Distorted. If not, see <http://www.gnu.org/licenses/>. // |
|
| 16 |
// You should have received a copy of the GNU Lesser General Public // |
|
| 17 |
// License along with this library; if not, write to the Free Software // |
|
| 18 |
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA // |
|
| 18 | 19 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
| 19 | 20 |
|
| 20 | 21 |
package org.distorted.library.mesh; |
| src/main/java/org/distorted/library/mesh/MeshJoined.java | ||
|---|---|---|
| 1 | 1 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
| 2 |
// Copyright 2020 Leszek Koltunski //
|
|
| 2 |
// Copyright 2020 Leszek Koltunski leszek@koltunski.pl //
|
|
| 3 | 3 |
// // |
| 4 | 4 |
// This file is part of Distorted. // |
| 5 | 5 |
// // |
| 6 |
// Distorted is free software: you can redistribute it and/or modify //
|
|
| 7 |
// it under the terms of the GNU General Public License as published by //
|
|
| 8 |
// the Free Software Foundation, either version 2 of the License, or //
|
|
| 9 |
// (at your option) any later version. //
|
|
| 6 |
// This library is free software; you can redistribute it and/or //
|
|
| 7 |
// modify it under the terms of the GNU Lesser General Public //
|
|
| 8 |
// License as published by the Free Software Foundation; either //
|
|
| 9 |
// version 2.1 of the License, or (at your option) any later version. //
|
|
| 10 | 10 |
// // |
| 11 |
// Distorted is distributed in the hope that it will be useful, //
|
|
| 11 |
// This library is distributed in the hope that it will be useful, //
|
|
| 12 | 12 |
// but WITHOUT ANY WARRANTY; without even the implied warranty of // |
| 13 |
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the //
|
|
| 14 |
// GNU General Public License for more details. //
|
|
| 13 |
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU //
|
|
| 14 |
// Lesser General Public License for more details. //
|
|
| 15 | 15 |
// // |
| 16 |
// You should have received a copy of the GNU General Public License // |
|
| 17 |
// along with Distorted. If not, see <http://www.gnu.org/licenses/>. // |
|
| 16 |
// You should have received a copy of the GNU Lesser General Public // |
|
| 17 |
// License along with this library; if not, write to the Free Software // |
|
| 18 |
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA // |
|
| 18 | 19 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
| 19 | 20 |
|
| 20 | 21 |
package org.distorted.library.mesh; |
| src/main/java/org/distorted/library/mesh/MeshPolygon.java | ||
|---|---|---|
| 1 | 1 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
| 2 |
// Copyright 2020 Leszek Koltunski //
|
|
| 2 |
// Copyright 2020 Leszek Koltunski leszek@koltunski.pl //
|
|
| 3 | 3 |
// // |
| 4 | 4 |
// This file is part of Distorted. // |
| 5 | 5 |
// // |
| 6 |
// Distorted is free software: you can redistribute it and/or modify //
|
|
| 7 |
// it under the terms of the GNU General Public License as published by //
|
|
| 8 |
// the Free Software Foundation, either version 2 of the License, or //
|
|
| 9 |
// (at your option) any later version. //
|
|
| 6 |
// This library is free software; you can redistribute it and/or //
|
|
| 7 |
// modify it under the terms of the GNU Lesser General Public //
|
|
| 8 |
// License as published by the Free Software Foundation; either //
|
|
| 9 |
// version 2.1 of the License, or (at your option) any later version. //
|
|
| 10 | 10 |
// // |
| 11 |
// Distorted is distributed in the hope that it will be useful, //
|
|
| 11 |
// This library is distributed in the hope that it will be useful, //
|
|
| 12 | 12 |
// but WITHOUT ANY WARRANTY; without even the implied warranty of // |
| 13 |
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the //
|
|
| 14 |
// GNU General Public License for more details. //
|
|
| 13 |
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU //
|
|
| 14 |
// Lesser General Public License for more details. //
|
|
| 15 | 15 |
// // |
| 16 |
// You should have received a copy of the GNU General Public License // |
|
| 17 |
// along with Distorted. If not, see <http://www.gnu.org/licenses/>. // |
|
| 16 |
// You should have received a copy of the GNU Lesser General Public // |
|
| 17 |
// License along with this library; if not, write to the Free Software // |
|
| 18 |
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA // |
|
| 18 | 19 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
| 19 | 20 |
|
| 20 | 21 |
package org.distorted.library.mesh; |
| src/main/java/org/distorted/library/mesh/MeshQuad.java | ||
|---|---|---|
| 1 | 1 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
| 2 |
// Copyright 2018 Leszek Koltunski //
|
|
| 2 |
// Copyright 2018 Leszek Koltunski leszek@koltunski.pl //
|
|
| 3 | 3 |
// // |
| 4 | 4 |
// This file is part of Distorted. // |
| 5 | 5 |
// // |
| 6 |
// Distorted is free software: you can redistribute it and/or modify //
|
|
| 7 |
// it under the terms of the GNU General Public License as published by //
|
|
| 8 |
// the Free Software Foundation, either version 2 of the License, or //
|
|
| 9 |
// (at your option) any later version. //
|
|
| 6 |
// This library is free software; you can redistribute it and/or //
|
|
| 7 |
// modify it under the terms of the GNU Lesser General Public //
|
|
| 8 |
// License as published by the Free Software Foundation; either //
|
|
| 9 |
// version 2.1 of the License, or (at your option) any later version. //
|
|
| 10 | 10 |
// // |
| 11 |
// Distorted is distributed in the hope that it will be useful, //
|
|
| 11 |
// This library is distributed in the hope that it will be useful, //
|
|
| 12 | 12 |
// but WITHOUT ANY WARRANTY; without even the implied warranty of // |
| 13 |
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the //
|
|
| 14 |
// GNU General Public License for more details. //
|
|
| 13 |
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU //
|
|
| 14 |
// Lesser General Public License for more details. //
|
|
| 15 | 15 |
// // |
| 16 |
// You should have received a copy of the GNU General Public License // |
|
| 17 |
// along with Distorted. If not, see <http://www.gnu.org/licenses/>. // |
|
| 16 |
// You should have received a copy of the GNU Lesser General Public // |
|
| 17 |
// License along with this library; if not, write to the Free Software // |
|
| 18 |
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA // |
|
| 18 | 19 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
| 19 | 20 |
|
| 20 | 21 |
package org.distorted.library.mesh; |
| src/main/java/org/distorted/library/mesh/MeshSphere.java | ||
|---|---|---|
| 1 | 1 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
| 2 |
// Copyright 2018 Leszek Koltunski //
|
|
| 2 |
// Copyright 2018 Leszek Koltunski leszek@koltunski.pl //
|
|
| 3 | 3 |
// // |
| 4 | 4 |
// This file is part of Distorted. // |
| 5 | 5 |
// // |
| 6 |
// Distorted is free software: you can redistribute it and/or modify //
|
|
| 7 |
// it under the terms of the GNU General Public License as published by //
|
|
| 8 |
// the Free Software Foundation, either version 2 of the License, or //
|
|
| 9 |
// (at your option) any later version. //
|
|
| 6 |
// This library is free software; you can redistribute it and/or //
|
|
| 7 |
// modify it under the terms of the GNU Lesser General Public //
|
|
| 8 |
// License as published by the Free Software Foundation; either //
|
|
| 9 |
// version 2.1 of the License, or (at your option) any later version. //
|
|
| 10 | 10 |
// // |
| 11 |
// Distorted is distributed in the hope that it will be useful, //
|
|
| 11 |
// This library is distributed in the hope that it will be useful, //
|
|
| 12 | 12 |
// but WITHOUT ANY WARRANTY; without even the implied warranty of // |
| 13 |
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the //
|
|
| 14 |
// GNU General Public License for more details. //
|
|
| 13 |
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU //
|
|
| 14 |
// Lesser General Public License for more details. //
|
|
| 15 | 15 |
// // |
| 16 |
// You should have received a copy of the GNU General Public License // |
|
| 17 |
// along with Distorted. If not, see <http://www.gnu.org/licenses/>. // |
|
| 16 |
// You should have received a copy of the GNU Lesser General Public // |
|
| 17 |
// License along with this library; if not, write to the Free Software // |
|
| 18 |
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA // |
|
| 18 | 19 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
| 19 | 20 |
|
| 20 | 21 |
package org.distorted.library.mesh; |
| src/main/java/org/distorted/library/mesh/MeshSquare.java | ||
|---|---|---|
| 1 | 1 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
| 2 |
// Copyright 2016 Leszek Koltunski //
|
|
| 2 |
// Copyright 2017 Leszek Koltunski leszek@koltunski.pl //
|
|
| 3 | 3 |
// // |
| 4 | 4 |
// This file is part of Distorted. // |
| 5 | 5 |
// // |
| 6 |
// Distorted is free software: you can redistribute it and/or modify //
|
|
| 7 |
// it under the terms of the GNU General Public License as published by //
|
|
| 8 |
// the Free Software Foundation, either version 2 of the License, or //
|
|
| 9 |
// (at your option) any later version. //
|
|
| 6 |
// This library is free software; you can redistribute it and/or //
|
|
| 7 |
// modify it under the terms of the GNU Lesser General Public //
|
|
| 8 |
// License as published by the Free Software Foundation; either //
|
|
| 9 |
// version 2.1 of the License, or (at your option) any later version. //
|
|
| 10 | 10 |
// // |
| 11 |
// Distorted is distributed in the hope that it will be useful, //
|
|
| 11 |
// This library is distributed in the hope that it will be useful, //
|
|
| 12 | 12 |
// but WITHOUT ANY WARRANTY; without even the implied warranty of // |
| 13 |
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the //
|
|
| 14 |
// GNU General Public License for more details. //
|
|
| 13 |
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU //
|
|
| 14 |
// Lesser General Public License for more details. //
|
|
| 15 | 15 |
// // |
| 16 |
// You should have received a copy of the GNU General Public License // |
|
| 17 |
// along with Distorted. If not, see <http://www.gnu.org/licenses/>. // |
|
| 16 |
// You should have received a copy of the GNU Lesser General Public // |
|
| 17 |
// License along with this library; if not, write to the Free Software // |
|
| 18 |
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA // |
|
| 18 | 19 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
| 19 | 20 |
|
| 20 | 21 |
package org.distorted.library.mesh; |
| src/main/java/org/distorted/library/mesh/MeshTriangle.java | ||
|---|---|---|
| 1 | 1 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
| 2 |
// Copyright 2020 Leszek Koltunski //
|
|
| 2 |
// Copyright 2020 Leszek Koltunski leszek@koltunski.pl //
|
|
| 3 | 3 |
// // |
| 4 | 4 |
// This file is part of Distorted. // |
| 5 | 5 |
// // |
| 6 |
// Distorted is free software: you can redistribute it and/or modify //
|
|
| 7 |
// it under the terms of the GNU General Public License as published by //
|
|
| 8 |
// the Free Software Foundation, either version 2 of the License, or //
|
|
| 9 |
// (at your option) any later version. //
|
|
| 6 |
// This library is free software; you can redistribute it and/or //
|
|
| 7 |
// modify it under the terms of the GNU Lesser General Public //
|
|
| 8 |
// License as published by the Free Software Foundation; either //
|
|
| 9 |
// version 2.1 of the License, or (at your option) any later version. //
|
|
| 10 | 10 |
// // |
| 11 |
// Distorted is distributed in the hope that it will be useful, //
|
|
| 11 |
// This library is distributed in the hope that it will be useful, //
|
|
| 12 | 12 |
// but WITHOUT ANY WARRANTY; without even the implied warranty of // |
| 13 |
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the //
|
|
| 14 |
// GNU General Public License for more details. //
|
|
| 13 |
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU //
|
|
| 14 |
// Lesser General Public License for more details. //
|
|
| 15 | 15 |
// // |
| 16 |
// You should have received a copy of the GNU General Public License // |
|
| 17 |
// along with Distorted. If not, see <http://www.gnu.org/licenses/>. // |
|
| 16 |
// You should have received a copy of the GNU Lesser General Public // |
|
| 17 |
// License along with this library; if not, write to the Free Software // |
|
| 18 |
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA // |
|
| 18 | 19 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
| 19 | 20 |
|
| 20 | 21 |
package org.distorted.library.mesh; |
Also available in: Unified diff
license