chickadee » sdl2 » point-set!

point-set! point #!optional x yprocedure

Efficient and convenient way of setting multiple fields of the sdl2:point. Any arguments that are #f will cause no change to that field. E.g. (point-set! my-point 42 #f) will set the "x" field to 42, but will not change the "y" field. Returns point after it is modified.