define things and soapstone strings

This commit is contained in:
Poojawa
2017-02-07 23:52:33 -06:00
parent 657684c1b7
commit 06e49c2df3
7 changed files with 321 additions and 7 deletions
+19 -1
View File
@@ -61,7 +61,25 @@
/matrix/proc/get_y_shift()
. = f
// Color matrices:
/matrix/proc/get_x_skew()
. = b
/matrix/proc/get_y_skew()
. = d
//Skews a matrix in a particular direction
//Missing arguments are treated as no skew in that direction
//As Rotation is defined as a scale+skew, these procs will break any existing rotation
//Unless the result is multiplied against the current matrix
/matrix/proc/set_skew(x = 0, y = 0)
b = x
d = y
/////////////////////
// COLOUR MATRICES //
/////////////////////
/* Documenting a couple of potentially useful color matrices here to inspire ideas
// Greyscale - indentical to saturation @ 0