STANNcam
STANNcam copied to clipboard
change stanncam_init() and stanncamI() to accept an options struct
when initing a camera with specific settings, in one long line it becomes incomprehensible to type. I think having it accept a struct with the specific settings like
var _options ={
x: 0,
y: 0,
width: 400,
height: 400,
surface_extra_on: false,
smooth_draw: false,
smooth_zoom: false
}
cam1 = new stanncam(_options)
might be better. Waiting for others opinions