Vec and Lerp

This commit is contained in:
Isuru Samarathunga
2025-09-05 12:38:34 +05:30
parent a804265604
commit 536e9d0e58
4 changed files with 223 additions and 6 deletions

View File

@ -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;
}