Class PlatformMathUtils

java.lang.Object
org.jbox2d.common.PlatformMathUtils
Direct Known Subclasses:
MathUtils

class PlatformMathUtils extends java.lang.Object
Contains methods from MathUtils that rely on JVM features. These are separated out from MathUtils so that they can be overridden when compiling for GWT.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private static final float
     
    private static final float
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static final float
    fastPow(float a, float b)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • PlatformMathUtils

      PlatformMathUtils()
  • Method Details

    • fastPow

      public static final float fastPow(float a, float b)