11 lines
248 B
C++
11 lines
248 B
C++
#include "particle.hpp"
|
|
#include "vec3.h"
|
|
#include <iostream>
|
|
|
|
int main() {
|
|
Particle<float> test = {
|
|
{0.0, 0.0, 0.0}, {0.0, 0.0, 0.0}, {0.0, 0.0, 0.0}, 10};
|
|
std::cout << test.pos.x << " " << test.pos.y << " " << test.pos.z;
|
|
return 0;
|
|
}
|