tornavis/source/blender/makesdna/DNA_speaker_defaults.h

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

36 lines
680 B
C
Raw Normal View History

/* SPDX-FileCopyrightText: 2023 Blender Authors
*
* SPDX-License-Identifier: GPL-2.0-or-later */
2019-09-11 20:34:55 +02:00
/** \file
* \ingroup DNA
*/
#pragma once
/* clang-format off */
/* -------------------------------------------------------------------- */
/** \name Speaker Struct
* \{ */
#define _DNA_DEFAULT_Speaker \
{ \
.attenuation = 1.0f, \
.cone_angle_inner = 360.0f, \
.cone_angle_outer = 360.0f, \
.cone_volume_outer = 1.0f, \
.distance_max = FLT_MAX, \
.distance_reference = 1.0f, \
.flag = 0, \
.pitch = 1.0f, \
.sound = NULL, \
.volume = 1.0f, \
.volume_max = 1.0f, \
.volume_min = 0.0f, \
}
/** \} */
/* clang-format on */