Blender V4.3
TransformWriter.h
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2023 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
9#pragma once
10
11#include "COLLADASWNode.h"
12
13#include "DNA_object_types.h"
14
15#include "collada.h"
16#include "collada_internal.h"
17#include "collada_utils.h"
18
20 protected:
21 void add_joint_transform(COLLADASW::Node &node,
22 float mat[4][4],
23 float parent_mat[4][4],
24 BCExportSettings &export_settings,
25 bool has_restmat);
26
27 void add_node_transform_ob(COLLADASW::Node &node, Object *ob, BCExportSettings &export_settings);
28
29 void add_node_transform_identity(COLLADASW::Node &node, BCExportSettings &export_settings);
30
31 private:
32 void add_transform(COLLADASW::Node &node,
33 const float loc[3],
34 const float rot[3],
35 const float scale[3]);
36};
Object is a sort of wrapper for general info.
void add_node_transform_ob(COLLADASW::Node &node, Object *ob, BCExportSettings &export_settings)
void add_joint_transform(COLLADASW::Node &node, float mat[4][4], float parent_mat[4][4], BCExportSettings &export_settings, bool has_restmat)
void add_node_transform_identity(COLLADASW::Node &node, BCExportSettings &export_settings)
#define rot(x, k)