Docs @ Psychtoolbox Wiki : bvlTranslateDots

Search PTB Function help:
homepsychtoolbox.orgpage updateslogin

bvlTranslateDots

PsychtoolboxPsychGLImageProcessingprivate

newDots = bvlTranslateDots(dots, strDir, delta)

Translate dots in the given direction by the specified amount.

dots - [Nx2] array of dots to be translated. First column is the x
coordinate, Second Column the y coordinate.
[x1 y1; x2 y2; .... xN yN];

strDir - string specifing the direction
'left', 'right', 'up', 'down'

delta - amount to translate

newDots - [Nx2] translated array

NOTE: Origin is at top-left of screen.



Path
Psychtoolbox/PsychGLImageProcessing/private/bvlTranslateDots.m

Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki
Page was generated in 0.0432 seconds