
com.almasb.fxgl.physics.box2d.collision.DistanceOutput Maven / Gradle / Ivy
/*
* FXGL - JavaFX Game Library. The MIT License (MIT).
* Copyright (c) AlmasB ([email protected]).
* See LICENSE for details.
*/
package com.almasb.fxgl.physics.box2d.collision;
import com.almasb.fxgl.core.math.Vec2;
/**
* Output for Distance.
* @author Daniel
*/
class DistanceOutput {
/** Closest point on shapeA */
final Vec2 pointA = new Vec2();
/** Closest point on shapeB */
final Vec2 pointB = new Vec2();
float distance;
/** number of gjk iterations used */
int iterations;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy