Blender V4.3
DNA_vec_defaults.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/* Struct members on own line. */
12/* clang-format off */
13
14/* -------------------------------------------------------------------- */
19#define _DNA_DEFAULT_UNIT_M4 \
20 { \
21 {1, 0, 0, 0}, \
22 {0, 1, 0, 0}, \
23 {0, 0, 1, 0}, \
24 {0, 0, 0, 1}, \
25 }
26
27#define _DNA_DEFAULT_UNIT_M3 \
28 { \
29 {1, 0, 0}, \
30 {0, 1, 0}, \
31 {0, 0, 1}, \
32 }
33
35#define _DNA_DEFAULT_UNIT_QT \
36 {1, 0, 0, 0}
37
40/* clang-format on */