Blender  V3.3
TransformWriter.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 
7 #pragma once
8 
9 #include "COLLADASWNode.h"
10 
11 #include "DNA_object_types.h"
12 
13 #include "collada.h"
14 #include "collada_internal.h"
15 #include "collada_utils.h"
16 
18  protected:
19  void add_joint_transform(COLLADASW::Node &node,
20  float mat[4][4],
21  float parent_mat[4][4],
22  BCExportSettings &export_settings,
23  bool has_restmat);
24 
25  void add_node_transform_ob(COLLADASW::Node &node, Object *ob, BCExportSettings &export_settings);
26 
27  void add_node_transform_identity(COLLADASW::Node &node, BCExportSettings &export_settings);
28 
29  private:
30  void add_transform(COLLADASW::Node &node,
31  const float loc[3],
32  const float rot[3],
33  const float scale[3]);
34 };
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)
OperationNode * node
#define rot(x, k)