Files
test/source/blender/makesdna/DNA_vec_defaults.h

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

41 lines
652 B
C
Raw Normal View History

/* SPDX-FileCopyrightText: 2023 Blender Authors
*
* SPDX-License-Identifier: GPL-2.0-or-later */
/** \file
* \ingroup DNA
*/
#pragma once
/* Struct members on own line. */
/* clang-format off */
/* -------------------------------------------------------------------- */
/** \name Generic Defaults
* \{ */
/** See #unit_m4. */
#define _DNA_DEFAULT_UNIT_M4 \
{ \
{1, 0, 0, 0}, \
{0, 1, 0, 0}, \
{0, 0, 1, 0}, \
{0, 0, 0, 1}, \
}
#define _DNA_DEFAULT_UNIT_M3 \
{ \
{1, 0, 0}, \
{0, 1, 0}, \
{0, 0, 1}, \
}
/** See #unit_qt. */
#define _DNA_DEFAULT_UNIT_QT \
{1, 0, 0, 0}
/** \} */
/* clang-format on */