summaryrefslogtreecommitdiff
path: root/src/kernel.cu
blob: fd0ae6843252c2432719859d52aac5dd84191411 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#include <curand.h>
#include <stdint.h>
#include <stdio.h>
#include "scene.cuh"
#include "camera.cuh"

__global__ void render(uint8_t *image) {
  Scene scene;
  Camera cam(1, make_vect3(0,0,0));
  cam.render(scene, image);
  //scene.render(image);
}