Skip to content

Commit

Permalink
XII-LIB: Build Fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
TheophilusE committed Sep 20, 2022
1 parent 2dbfa0e commit e2963ef
Show file tree
Hide file tree
Showing 192 changed files with 210 additions and 154,147 deletions.
6 changes: 6 additions & 0 deletions XII-LIB/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
plugins {
id 'com.android.library'
}
apply plugin: 'kotlin-android'

android {
compileSdk 29
Expand All @@ -27,4 +28,9 @@ android {

dependencies {
implementation project(':FtcRobotController')
implementation "androidx.core:core-ktx:+"
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
}
repositories {
mavenCentral()
}
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
package org.xii.sdk.foundation.math.math;
package org.xii.sdk.foundation.math;

import java.io.Externalizable;
import java.io.IOException;
Expand All @@ -38,7 +38,7 @@
*
* @author Kai Burjack
* <p>
* Modified by Theophilus Eriata for the 15259 GodBot SDK.
* Modified by Theophilus Eriata for the GodBot SDK.
*/
public class AxisAngle4d implements Externalizable, Cloneable
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
package org.xii.sdk.foundation.math.math;
package org.xii.sdk.foundation.math;

import java.io.Externalizable;
import java.io.IOException;
Expand All @@ -38,7 +38,7 @@
*
* @author Kai Burjack
* <p>
* Modified by Theophilus Eriata for the 15259 GodBot SDK.
* Modified by Theophilus Eriata for the GodBot SDK.
*/
public class AxisAngle4f implements Externalizable, Cloneable
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
package org.xii.sdk.foundation.math.math;
package org.xii.sdk.foundation.math;

/**
* Exception thrown when using an invalid JOML runtime configuration.
*
* @author Kai Burjack
* <p>
* Modified by Theophilus Eriata for the 15259 GodBot SDK.
* Modified by Theophilus Eriata for the GodBot SDK.
*/
public class ConfigurationException extends RuntimeException
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
package org.joml

import org.xii.sdk.foundation.math.math.*
import org.xii.sdk.foundation.math.*
import java.nio.ByteBuffer
import java.nio.DoubleBuffer
import java.nio.FloatBuffer
import java.nio.IntBuffer

/**
* Modified by Theophilus Eriata for the 15259 GodBot SDK.
* Modified by Theophilus Eriata for the GodBot SDK.
*/

/* Vector2f */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
package org.xii.sdk.foundation.math.math;
package org.xii.sdk.foundation.math;

/**
* Efficiently performs frustum intersection tests by caching the frustum planes of an arbitrary transformation {@link Matrix4fc matrix}.
Expand All @@ -30,7 +30,7 @@
*
* @author Kai Burjack
* <p>
* Modified by Theophilus Eriata for the 15259 GodBot SDK.
* Modified by Theophilus Eriata for the GodBot SDK.
*/
public class FrustumIntersection
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
package org.xii.sdk.foundation.math.math;
package org.xii.sdk.foundation.math;

/**
* Provides methods to compute rays through an arbitrary perspective transformation defined by a {@link Matrix4fc}.
Expand All @@ -33,7 +33,7 @@
*
* @author Kai Burjack
* <p>
* Modified by Theophilus Eriata for the 15259 GodBot SDK.
* Modified by Theophilus Eriata for the GodBot SDK.
*/
public class FrustumRayBuilder
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
package org.xii.sdk.foundation.math.math;
package org.xii.sdk.foundation.math;

/**
* Useful geometry methods.
*
* @author Kai Burjack
* @author Richard Greenlees
* <p>
* Modified by Theophilus Eriata for the 15259 GodBot SDK.
* Modified by Theophilus Eriata for the GodBot SDK.
*/
public class GeometryUtils
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
package org.xii.sdk.foundation.math.math;
package org.xii.sdk.foundation.math;

/**
* Contains various interpolation functions.
*
* @author Kai Burjack
* <p>
* Modified by Theophilus Eriata for the 15259 GodBot SDK.
* Modified by Theophilus Eriata for the GodBot SDK.
*/
public class Interpolationd
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
package org.xii.sdk.foundation.math.math;
package org.xii.sdk.foundation.math;

/**
* Contains various interpolation functions.
*
* @author Kai Burjack
* <p>
* Modified by Theophilus Eriata for the 15259 GodBot SDK.
* Modified by Theophilus Eriata for the GodBot SDK.
*/
public class Interpolationf
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
package org.xii.sdk.foundation.math.math;
package org.xii.sdk.foundation.math;

/**
* Contains intersection and distance tests for some 2D and 3D geometric primitives.
*
* @author Kai Burjack
* <p>
* Modified by Theophilus Eriata for the 15259 GodBot SDK.
* Modified by Theophilus Eriata for the GodBot SDK.
*/
public class Intersectiond
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
package org.xii.sdk.foundation.math.math;
package org.xii.sdk.foundation.math;

/**
* Contains intersection and distance tests for some 2D and 3D geometric primitives.
*
* @author Kai Burjack
* <p>
* Modified by Theophilus Eriata for the 15259 GodBot SDK.
* Modified by Theophilus Eriata for the GodBot SDK.
*/
public class Intersectionf
{
Expand Down
4 changes: 2 additions & 2 deletions XII-LIB/src/main/java/org/xii/sdk/foundation/math/Math.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
package org.xii.sdk.foundation.math.math;
package org.xii.sdk.foundation.math;

/**
* Contains fast approximations of some {@link java.lang.Math} operations.
Expand All @@ -39,7 +39,7 @@
*
* @author Kai Burjack
* <p>
* Modified by Theophilus Eriata for the 15259 GodBot SDK.
* Modified by Theophilus Eriata for the GodBot SDK.
*/
public class Math
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
package org.xii.sdk.foundation.math.math;
package org.xii.sdk.foundation.math;

//#ifdef __GWT__
//import com.google.gwt.typedarrays.shared.Float64Array;
Expand All @@ -48,7 +48,7 @@
*
* @author Joseph Burton
* <p>
* Modified by Theophilus Eriata for the 15259 GodBot SDK.
* Modified by Theophilus Eriata for the GodBot SDK.
*/
public class Matrix2d implements Externalizable, Cloneable, Matrix2dc
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
package org.xii.sdk.foundation.math.math;
package org.xii.sdk.foundation.math;

//#ifdef __GWT__
//import com.google.gwt.typedarrays.shared.Float64Array;
Expand All @@ -41,7 +41,7 @@
*
* @author Joseph Burton
* <p>
* Modified by Theophilus Eriata for the 15259 GodBot SDK.
* Modified by Theophilus Eriata for the GodBot SDK.
*/
public interface Matrix2dc
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
package org.xii.sdk.foundation.math.math;
package org.xii.sdk.foundation.math;

//#ifdef __GWT__
//import com.google.gwt.typedarrays.shared.Float32Array;
Expand All @@ -48,7 +48,7 @@
*
* @author Joseph Burton
* <p>
* Modified by Theophilus Eriata for the 15259 GodBot SDK.
* Modified by Theophilus Eriata for the GodBot SDK.
*/
public class Matrix2f implements Externalizable, Cloneable, Matrix2fc
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
package org.xii.sdk.foundation.math.math;
package org.xii.sdk.foundation.math;

//#ifdef __GWT__
//import com.google.gwt.typedarrays.shared.Float32Array;
Expand All @@ -41,7 +41,7 @@
*
* @author Joseph Burton
* <p>
* Modified by Theophilus Eriata for the 15259 GodBot SDK.
* Modified by Theophilus Eriata for the GodBot SDK.
*/
public interface Matrix2fc
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
package org.xii.sdk.foundation.math.math;
package org.xii.sdk.foundation.math;

import java.io.Externalizable;
import java.io.IOException;
Expand All @@ -47,7 +47,7 @@
* @author Richard Greenlees
* @author Kai Burjack
* <p>
* Modified by Theophilus Eriata for the 15259 GodBot SDK.
* Modified by Theophilus Eriata for the GodBot SDK.
*/
public class Matrix3d implements Externalizable, Cloneable, Matrix3dc
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
package org.xii.sdk.foundation.math.math;
package org.xii.sdk.foundation.math;

import java.io.IOException;
import java.io.ObjectInput;
Expand All @@ -37,7 +37,7 @@
*
* @author Kai Burjack
* <p>
* Modified by Theophilus Eriata for the 15259 GodBot SDK.
* Modified by Theophilus Eriata for the GodBot SDK.
*/
public class Matrix3dStack extends Matrix3d
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
package org.xii.sdk.foundation.math.math;
package org.xii.sdk.foundation.math;

//#ifdef __HAS_NIO__

Expand All @@ -39,7 +39,7 @@
*
* @author Kai Burjack
* <p>
* Modified by Theophilus Eriata for the 15259 GodBot SDK.
* Modified by Theophilus Eriata for the GodBot SDK.
*/
public interface Matrix3dc
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
package org.xii.sdk.foundation.math.math;
package org.xii.sdk.foundation.math;

import java.io.Externalizable;
import java.io.IOException;
Expand Down Expand Up @@ -50,7 +50,7 @@
* @author Richard Greenlees
* @author Kai Burjack
* <p>
* Modified by Theophilus Eriata for the 15259 GodBot SDK.
* Modified by Theophilus Eriata for the GodBot SDK.
*/
public class Matrix3f implements Externalizable, Cloneable, Matrix3fc
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
package org.xii.sdk.foundation.math.math;
package org.xii.sdk.foundation.math;

import java.io.IOException;
import java.io.ObjectInput;
Expand All @@ -37,7 +37,7 @@
*
* @author Kai Burjack
* <p>
* Modified by Theophilus Eriata for the 15259 GodBot SDK.
* Modified by Theophilus Eriata for the GodBot SDK.
*/
public class Matrix3fStack extends Matrix3f
{
Expand Down
Loading

0 comments on commit e2963ef

Please sign in to comment.