Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- "sub "+tempReg2+".xyz,"+tempReg+".xyz,"+_dataReg2+".zzz\n"+ // a = x-edge1
- "div "+tempReg2+".xyz,"+tempReg2+".xyz,"+_dataReg2+".www\n"+ // a / (edge2-edge1)
- "sat "+tempReg4+".xyz,"+tempReg2+".xyz\n"+ // tempReg 2 = t // reg4 = saturate(a)
- "mul "+tempReg2+".xyz,"+tempReg4+".xyz,"+tempReg4+".xyz\n"+ // reg2 = reg4^2 (t^2)
- "mul "+tempReg3+".xyz,"+tempReg2+".xyz,"+tempReg4+".xyz\n"+ // reg3 = reg2*reg4 (t^3)
- "mul "+tempReg2+".xyz,"+tempReg2+".xyz,"+_dataReg3+".xxx\n"+ // reg2 *= 3
- "mul "+tempReg3+".xyz,"+tempReg3+".xyz,"+_dataReg3+".yyy\n"+ // reg3 *=2
- "sub "+tempReg4+".xyz,"+tempReg2+".xyz,"+tempReg3+".xyz\n"+ // reg4 = reg2-reg3;
Add Comment
Please, Sign In to add comment