Psi Swarm Code V0.41 [With Beautiful Meme program]
Dependencies: PsiSwarmLibrary mbed
Fork of BeautifulMemeProjectBT by
BeautifulMeme/vector.h
- Committer:
- jah128
- Date:
- 2016-03-15
- Revision:
- 30:513457c1ad12
File content as of revision 30:513457c1ad12:
/// PsiSwarm Beautiful Meme Project Source Code /// Version 0.41 /// James Hilder, Alan Millard, Homero Elizondo, Jon Timmis /// University of York // vector.h - Functions for calculating floating point bearing vectors #ifndef VECTOR_H #define VECTOR_H #define TO_DEG 57.2958 #define TO_RAD 0.017453 struct FloatVector{ float angle; float distance; }; struct FloatVector addVector(struct FloatVector in_Vector, int angle, int distance); #endif