Files
blender/intern/cycles/scene/curves.h
Brecht Van Lommel 9cfc7967dd Cycles: use SPDX license headers
* Replace license text in headers with SPDX identifiers.
* Remove specific license info from outdated readme.txt, instead leave details
  to the source files.
* Add list of SPDX license identifiers used, and corresponding license texts.
* Update copyright dates while we're at it.

Ref D14069, T95597
2022-02-11 17:47:34 +01:00

49 lines
890 B
C++

/* SPDX-License-Identifier: Apache-2.0
* Copyright 2011-2022 Blender Foundation */
#ifndef __CURVES_H__
#define __CURVES_H__
#include "util/array.h"
#include "util/types.h"
#include "scene/hair.h"
CCL_NAMESPACE_BEGIN
class Device;
class DeviceScene;
class Progress;
class Scene;
void curvebounds(float *lower, float *upper, float3 *p, int dim);
class ParticleCurveData {
public:
ParticleCurveData();
~ParticleCurveData();
array<int> psys_firstcurve;
array<int> psys_curvenum;
array<int> psys_shader;
array<float> psys_rootradius;
array<float> psys_tipradius;
array<float> psys_shape;
array<bool> psys_closetip;
array<int> curve_firstkey;
array<int> curve_keynum;
array<float> curve_length;
array<float2> curve_uv;
array<float4> curve_vcol;
array<float3> curvekey_co;
array<float> curvekey_time;
};
CCL_NAMESPACE_END
#endif /* __CURVES_H__ */