Migration guide from previous version to v7.0 or ulterior

Luckily, migrating from a previous version to the v7.0 should be pretty straightforward as there are not many breaking changes.

Deprecations

Here's a list of all deprecated methods:

Parameters change

Here's a list of all the instanciation and method parameters that changed:

  • Plane class:

    • Creation:

      • shareProgram: this option is deprecated and has been removed.v8.0
      • uniforms: value property now accepts Vec2, Vec3, Mat4 and Quat class objects.v7.0
    • Methods:

      • mouseToPlaneCoords(): now uses a Vec2 class object instead of 2 floats.v7.0
      • setRelativeTranslation(): now uses a Vec3 class object instead of 3 floats.v7.0
      • setRotation(): now uses a Vec3 class object instead of 3 floats.v7.0
      • setScale(): now uses a Vec2 class object instead of 2 floats.v7.0
      • setTransformOrigin(): now uses a Vec3 class object instead of 3 floats.v7.0
  • Texture class:

    • Methods:

      • setScale(): now uses a Vec2 class object instead of 2 floats.v7.0
  • ShaderPass class:

    • Creation:

      • uniforms: value property now accepts Vec2, Vec3, Mat4 and Quat class objects.v7.0
    • Methods:

      • mouseToPlaneCoords(): now uses a Vec2 class object instead of 2 floats.v7.0

Properties changed

Here's a list of all the object properties name that changed:

  • Curtains class:

    • glCanvas: has been renamed to canvas.v7.0
    • productionMode: has been renamed to production.v7.0
  • Texture class: