Sprites for Processing  V2.1
 All Classes Functions Variables
sprites.maths.PointD2D Class Reference

Public Member Functions

 PointD2D ()
 
 PointD2D (float x, float y)
 
String toString ()
 

Public Attributes

double x
 

Detailed Description

This class is provided to assist when converting world <> screen coordinates.

It means we don't have to use the Point2D.Double class - bit messy for newbies to Processing

Author
Peter Lager

Constructor & Destructor Documentation

sprites.maths.PointD2D.PointD2D ( )

Create a PointF2D object to store x/y coordinates and initialise to 0.0/0.0

sprites.maths.PointD2D.PointD2D ( float  x,
float  y 
)

Create a PointF2D object to store x/y coordinates

Parameters
x
y

The documentation for this class was generated from the following file: