//========================================================================
// Color library header file
//
// AUTHOR:  Gabor Nagy
// DATE:    2024-Jan-21 16:02:23
//
// Copyright (C) 1996-2026 by Gabor Nagy. All rights reserved.
//========================================================================
#ifndef	_EColor_Spectrum_h
#define	_EColor_Spectrum_h

#include <Color/Color.h>
#include <E3D/Spline.h>

#if defined (__cplusplus) && (!(defined (__CPLUSLIBS)))
extern "C" {
#endif

extern void  Ec_SampleCIE(const EcCIEEntry* PCIE, const int PTotalCIECount, const float PWavelengthStart, const float PWavelengthEnd, const int PNSpectralSamples,  float* PSpectralToR, float* PSpectralToG, float* PSpectralToB,  E3dSpline* PSplineR, E3dSpline* PSplineG, E3dSpline* PSplineB);

#if defined (__cplusplus) && (!(defined (__CPLUSLIBS)))
}	// Close scope of 'extern "C"' declaration
#endif

#endif // _EColor_Spectrum_h
