Create a scale matrix.

cpTransformScale(scaleX, scaleY)

Arguments

scaleX

[cpFloat]

scaleY

[cpFloat]

Value

[cpTransform *]

Details

C function prototype: static inline cpTransform cpTransformScale(cpFloat scaleX, cpFloat scaleY)