Psi Swarm Code V0.41 [With Beautiful Meme program]
Dependencies: PsiSwarmLibrary mbed
Fork of BeautifulMemeProjectBT by
vector.h
- Committer:
- jah128
- Date:
- 2016-02-04
- Revision:
- 28:46d650381972
- Parent:
- 12:daa53285b6e4
File content as of revision 28:46d650381972:
/// PsiSwarm Beautiful Meme Project Source Code /// Version 0.4 /// 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