rendering-in-cgi/Framework/lights/point_light.h
2024-04-23 10:14:24 +02:00

24 lines
727 B
C++

// Copyright 2009-2021 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
#pragma once
#include <math/vec.h>
namespace embree {
Light_SampleRes PointLight_sample(const Light* super,
const Sample& dg,
const Vec2f& s);
Light_EvalRes PointLight_eval(const Light* super,
const Sample& dg,
const Vec3fa& dir);
extern "C" void* PointLight_create();
extern "C" void PointLight_set(void* super,
const Vec3fa& position,
const Vec3fa& power,
float radius);
}