Skip to content

A set of vector math macros. Prefixed with ZS_, for CGVector lovers.

License

Notifications You must be signed in to change notification settings

shsteven/CGVectorMath

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CGVectorMath.

A set of vector math macros. Prefixed. for SpriteKit lovers.

ZS_CGVectorAdd(v1,v2)
ZS_CGVectorSubtract(v1,v2)
ZS_CGVectorScalarProduct(scalar, v)
ZS_CGVectorDotProduct(v1,v2)
ZS_CGVectorGetMagnitude(v)
ZS_CGVectorNormalize(v)

Usage:

pod 'CGVectorMath'

and in Prefix.pch

#import <CGVectorMath/CGVectorMath.h>

About

A set of vector math macros. Prefixed with ZS_, for CGVector lovers.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published