getZ method

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

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

Implementation

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