blender/intern/cycles/scene/curves.h

50 lines
907 B
C++

/* SPDX-FileCopyrightText: 2011-2022 Blender Foundation
*
* SPDX-License-Identifier: Apache-2.0 */
#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__ */