Wrapping up

This commit is contained in:
2025-01-15 21:25:52 +01:00
parent d5df4ea188
commit a3b6aab0c7
5 changed files with 18 additions and 9 deletions

View File

@@ -3,7 +3,7 @@
#include <cuda_runtime.h>
#include <cmath>
struct Vec3 { // TODO: Maybe make this into a class ... maybe
struct Vec3 {
double x, y, z;
static __host__ __device__ Vec3 init(double x, double y, double z) {Vec3 v = {x, y, z}; return v;}