Grublet
Permabanned
- Joined
- Sep 11, 2012
- Messages
- 269
- MBTI Type
- ISTJ
- Enneagram
- AVC
Stirkbin - View
Code:
function flr(clip c,float par,float dar,int resx,int resy,int mod){
lr=round((((c.height()*dar)-(c.width()*par))/2)/float(mod))*mod
tb=round(((((c.width()*par)/dar)-c.height())/2)/float(mod))*mod
c.addborders(lr,tb,lr,tb).spline16resize(resx,resy)}
function pr(clip c,float p,int mod){
c.spline16resize(round((c.width()*p)/float(mod))*mod,round((c.height()*p)/float(mod))*mod)}
PARENTHESES!!!!