13 lines
260 B
C++
13 lines
260 B
C++
#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;
|
|
} |