MCPcopy
hub / github.com/williamngan/pts / add

Method add

src/Pt.ts:190–193  ·  view source on GitHub ↗

* 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)

Source from the content-addressed store, hash-verified

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 /**

Callers 15

initMethod · 0.95
toAngleMethod · 0.95
cover.jsFile · 0.45
createDemoContainerFunction · 0.45
startDemoFunction · 0.45
tempo_progress.jsFile · 0.45
sound_visual.jsFile · 0.45
image_load2.jsFile · 0.45
sound_mic.jsFile · 0.45
op_bspline_2.jsFile · 0.45
getting_started.jsFile · 0.45

Calls 1

getArgsMethod · 0.80

Tested by

no test coverage detected