Initial commit.

This commit is contained in:
hal8174 2024-04-23 10:14:24 +02:00
commit d3bb49b3f5
1073 changed files with 484757 additions and 0 deletions

View file

@ -0,0 +1,24 @@
// Copyright 2009-2021 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
#pragma once
#include <math/vec.h>
namespace embree {
Light_SampleRes QuadLight_sample(const Light* super,
const Sample& sp,
const Vec2f& s);
Light_EvalRes QuadLight_eval(const Light* super,
const Sample& dg,
const Vec3fa& dir);
extern "C" void* QuadLight_create();
extern "C" void QuadLight_set(void* super,
const Vec3fa& position,
const Vec3fa& edge2,
const Vec3fa& edge1,
const Vec3fa& radiance);
}