Difference between revisions of "GSDP:GAM100/CProcessing"
From Inside
>Justin.chambers |
>Justin.chambers |
||
| Line 3: | Line 3: | ||
=== Structure === | === Structure === | ||
| − | * [[GSDP:GAM100/CProcessing/Run()]] | + | * [[GSDP:GAM100/CProcessing/Run()|Run()]] |
===== Globals ===== | ===== Globals ===== | ||
Revision as of 10:42, 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()
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()