Files
test2/source/blender/freestyle/intern/scene_graph/VertexRep.cpp
Campbell Barton ffdce441ee License headers: use SPDX-FileCopyrightText for source/
There are still some files that need to be manually updated due to
missing copyright dates.
2023-06-14 23:36:23 +10:00

21 lines
498 B
C++

/* SPDX-FileCopyrightText: 2008-2022 Blender Foundation
*
* SPDX-License-Identifier: GPL-2.0-or-later */
/** \file
* \ingroup freestyle
* \brief Class to define the representation of a vertex for displaying purpose.
*/
#include "VertexRep.h"
namespace Freestyle {
void VertexRep::ComputeBBox()
{
setBBox(BBox<Vec3r>(Vec3r(_coordinates[0], _coordinates[1], _coordinates[2]),
Vec3r(_coordinates[0], _coordinates[1], _coordinates[2])));
}
} /* namespace Freestyle */