Skip to content

Conversation

spneshaei
Copy link

Fixing issue #35 Float number
Float numbers can be used as x-coordinates similar to how they could be used as y-coordinates


Dot(int x, float y, int targetX, float targetY, float data, int linenumber) {
Dot(double x, float y, double targetX, float targetY, float data, int linenumber) {
this.x = x;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi, did you try out your changes? I was about to add them to my fork of the library, as unfortunately this repository seems unmaintained, but your commit doesn't compile for me. For example, this.x is an int while the local x is a double, causing the assignment to fail. Other type-casting errors are also showing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants