Vec and Lerp
This commit is contained in:
@ -1,7 +1,13 @@
|
||||
#include <stdio.h>
|
||||
|
||||
#include <IAMath/Vec.hpp>
|
||||
|
||||
int main(int argc, char* argv[])
|
||||
{
|
||||
|
||||
ia::iam::Vec2f a {6, 10};
|
||||
ia::iam::Vec2f b {2, 1};
|
||||
|
||||
printf("%s, %s, %s\n", a.ToString().c_str(), b.ToString().c_str(), (a + b).ToString().c_str());
|
||||
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user