Difference between revisions of "GSDP:GAM100/CProcessing"
From Inside
>D.hamilton |
>D.hamilton m (→Reference) |
||
| Line 130: | Line 130: | ||
* [[GSDP:GAM100/CProcessing/cursor() |cursor() ]] | * [[GSDP:GAM100/CProcessing/cursor() |cursor() ]] | ||
* [[GSDP:GAM100/CProcessing/noCursor() |noCursor() ]] | * [[GSDP:GAM100/CProcessing/noCursor() |noCursor() ]] | ||
| + | * [[GSDP:GAM100/CProcessing/translate() |translate() ]] | ||
| + | * [[GSDP:GAM100/CProcessing/scale() |scale() ]] | ||
| + | * [[GSDP:GAM100/CProcessing/scaleX() |scaleX() ]] | ||
| + | * [[GSDP:GAM100/CProcessing/scaleY() |scaleY() ]] | ||
| + | * [[GSDP:GAM100/CProcessing/rotate() |rotate() ]] | ||
Revision as of 11:49, 19 July 2018
Reference
Structure
Globals
- mouseX
- mouseY
- pmouseX
- pmouseY
- worldMouseX
- worldMouseY
- frameCount
- displayWidth
- displayHeight
- windowWidth
- windowHeight
- width
- height
Types
Math
Callbacks
Color
Image
Math
Constants
Utility
- constrain_f()
- constrain_i()
- dist_f()
- dist_i()
- lerp_f()
- lerp_i()
- mag()
- map()
- sq()
- degrees()
- radians()
Matrix
- mat3()
- mat3_identity()
- mat3_set()
- mat3_from_vector()
- mat3_scale()
- mat3_translate()
- mat3_rotate()
- mat3_rotate_rad()
- mat3_transpose()
- mat3_inverse()
- mat3_concat()
- mat3_mult_vec2()
Vector
- vec2()
- vec2_zero()
- vec2_set()
- vec2_neg()
- vec2_add()
- vec2_sub()
- vec2_norm()
- vec2_scale()
- vec2_length()
- vec2_distance()
- vec2_dot()
- vec2_cross()
- vec2_angle()
Random
Setting
- background()
- backgroundColor()
- fill()
- fillColor()
- noFill()
- stroke()
- strokeColor()
- noStroke()
- strokeWeight()
- size()
- fullscreen()
- cursor()
- noCursor()
- translate()
- scale()
- scaleX()
- scaleY()
- rotate()
Shape
- rect()
- ellipse()
- circle()
- line()
- point()
- triangle()
- quad()
- roundedRect()
- beginShape()
- vertex()
- endShape()
Modes
Sound
- createSound()
- sound()
- soundChannel()
- createChannel()
- stop()
- setPaused()
- getPaused()
- setVolume()
- getVolume()
- setPitch()
- getPitch()
- setFade()
- clearFade()
- setReverb()
- getReverb()
- setPan()
- getPan()