Welcome to mirror list, hosted at ThFree Co, Russian Federation.

VertexRep.cpp « scene_graph « intern « freestyle « blender « source - git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 4427e9db90580a7cc3a38cabfe06d770cff00d57 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* 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 */