Class Fz2D.Iso

Defined in: src/scene/iso.coffee

Overview

Public: Iso

Class Method Summary

Class Method Details

Fz2D.Vec2 .from(x, y) Source

Public: Converts isometric coordinates to carteesian coordinates. x - value on the X axis y - value on the Y axis Returns a Fz2D.Vec2.

Parameters:

  • xvalue on the X axis
  • yvalue on the Y axis

Returns:

Fz2D.Vec2 .to(x, y) Source

Public: Converts carteesian coordinates to isometric coordinates. x - value on the X axis y - value on the Y axis Returns a Fz2D.Vec2.

Parameters:

  • xvalue on the X axis
  • yvalue on the Y axis

Returns: