From 899f81eed6c221dce22333ad03704b12d7634a54 Mon Sep 17 00:00:00 2001 From: Sakarias Johansson Date: Sun, 8 Jan 2023 17:51:44 +0100 Subject: =?UTF-8?q?=F0=9F=8C=8D=20Add=20Geometry?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Created a trait for all geometry that has to implement a hit function. Depending on if the ray hits or not it returns an option with the color. - Add support for multiple samples per pixel Current issues: - Using cooperative multitasking which isn't that helpful in this situation since it's like running without async but without overhead. Should switch to rayon. - All data gets copied once per job. Will decide later what to do (copy or put locks and share data between jobs). --- default.nix | 1 - 1 file changed, 1 deletion(-) (limited to 'default.nix') diff --git a/default.nix b/default.nix index fe76061..326d701 100644 --- a/default.nix +++ b/default.nix @@ -60,7 +60,6 @@ nixpkgs.stdenv.mkDerivation { shellHook = '' export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:${nixpkgs.lib.makeLibraryPath [ nixpkgs.xorg.libX11 nixpkgs.xorg.libXcursor ] } - #export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib64/ export RUST_SRC_PATH=${rustSrcNoSymlinks} ''; } -- cgit v1.2.3