mirror of
https://github.com/blender/blender
synced 2026-10-25 03:07:01 +03:00
Previously only a subset of the code was in this namespace. This improves
consistency, and means common types like Vector, StringRef and float3
don't need blender:: prefixes anywhere.
This does not move code into sub-namespaces, but gets us a step closer to
the end goal.
* Add namespace blender {} to almost all files.
* Remove unnecessary blender:: prefixes and using namespace blender;.
* Freestyle was not not moved, it remains in top level namespace freestyle.
* Cycles integration code was modified to use blender:: prefixes.
* bUUID existed both in the top level and blender namespace. To resolve this
conflict, the wrapper class is now blender::UUID.
Some blender:: prefixes remain primarily because of ambiguous namespaces, for
example animrig:: could refer to both blender::animrig and blender::ed::animrig.
Pull Request: https://projects.blender.org/blender/blender/pulls/152329
9 lines
210 B
C
9 lines
210 B
C
/* SPDX-FileCopyrightText: 2023 Blender Foundation
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
|
|
#define NANOSVG_IMPLEMENTATION
|
|
#define NANOSVG_ALL_COLOR_KEYWORDS
|
|
|
|
#include <stdio.h>
|
|
#include "nanosvg.h"
|