* Add scalar or vector values to this Pt. * @param args can be either a list of numbers, an array, a Pt, or an object with {x,y,z,w} properties
(...args)
| 188 | * @param args can be either a list of numbers, an array, a Pt, or an object with {x,y,z,w} properties |
| 189 | */ |
| 190 | add(...args): this { |
| 191 | (args.length === 1 && typeof args[0] == "number") ? Vec.add( this, args[0] ) : Vec.add( this, Util.getArgs(args) ); |
| 192 | return this; |
| 193 | } |
| 194 | |
| 195 | |
| 196 | /** |
no test coverage detected