Quantcast
Channel: Android Mode - Processing 2.x and 3.x Forum
Viewing all articles
Browse latest Browse all 941

Vector copying in Android Mode

$
0
0

Hi,

I have a class that is passed a PVector in the constructor, which it then assigns to a variable using the .copy() function. However, in the console I get this error: this.velocity = _velocity.copy(); ^^^^ The method copy() is undefined for the type PVector

Can anyone help?

Thanks


Viewing all articles
Browse latest Browse all 941

Trending Articles