Files
test/source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DVec2f.h

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

32 lines
963 B
C
Raw Normal View History

/* SPDX-FileCopyrightText: 2023 Blender Authors
*
* SPDX-License-Identifier: GPL-2.0-or-later */
2013-02-23 18:32:28 +00:00
/** \file
* \ingroup freestyle
2013-02-23 18:32:28 +00:00
*/
2013-02-23 18:50:33 +00:00
#pragma once
#include "../BPy_UnaryFunction1D.h"
#include "../../geometry/Geom.h"
///////////////////////////////////////////////////////////////////////////////////////////
extern PyTypeObject UnaryFunction1DVec2f_Type;
2013-02-23 18:50:33 +00:00
#define BPy_UnaryFunction1DVec2f_Check(v) \
(PyObject_IsInstance((PyObject *)v, (PyObject *)&UnaryFunction1DVec2f_Type))
/*---------------------------Python BPy_UnaryFunction1DVec2f structure definition----------*/
typedef struct {
BPy_UnaryFunction1D py_uf1D;
Freestyle::UnaryFunction1D<Freestyle::Geometry::Vec2f> *uf1D_vec2f;
} BPy_UnaryFunction1DVec2f;
/*---------------------------Python BPy_UnaryFunction1DVec2f visible prototypes-----------*/
2013-02-23 18:50:33 +00:00
int UnaryFunction1DVec2f_Init(PyObject *module);
///////////////////////////////////////////////////////////////////////////////////////////