getY method

  1. @override
double getY(
  1. int index
)
override

Returns the y component of the item at the given index.

Implementation

@override
double getY(int index) {
		num y = this.data!.array[ index * this.data!.stride + this.offset + 1 ];
		if ( this.normalized ) y = MathUtils.denormalize( y, this.array );
		return y.toDouble();
}