Docs @ Psychtoolbox Wiki : bvlShearDots

Search PTB Function help:
homepsychtoolbox.orgpage updateslogin

bvlShearDots

PsychtoolboxPsychGLImageProcessingprivate

newDots = bvlShearDots(dots, strDir, delta)

Shearing of 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
'top2right', 'top2left', 'right2up', 'right2down'

delta - amount to translate

newDots - [Nx2] translated array

NOTE: Origin is at top-left of screen.



Path
Psychtoolbox/PsychGLImageProcessing/private/bvlShearDots.m

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