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

NormalType.h « igl « src « xs - github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: b74b57b6a845ae568bd9f7dd214cdb3cc3f113a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// This file is part of libigl, a simple c++ geometry processing library.
// 
// Copyright (C) 2013 Alec Jacobson <alecjacobson@gmail.com>
// 
// This Source Code Form is subject to the terms of the Mozilla Public License 
// v. 2.0. If a copy of the MPL was not distributed with this file, You can 
// obtain one at http://mozilla.org/MPL/2.0/.
#ifndef IGL_NORMALTYPE_H
#define IGL_NORMALTYPE_H

namespace igl
{
  // PER_VERTEX_NORMALS  Normals computed per vertex based on incident faces
  // PER_FACE_NORMALS  Normals computed per face
  // PER_CORNER_NORMALS  Normals computed per corner (aka wedge) based on
  //   incident faces without sharp edge
  enum NormalType
  {
    PER_VERTEX_NORMALS,
    PER_FACE_NORMALS,
    PER_CORNER_NORMALS
  };
#  define NUM_NORMAL_TYPE 3
}

#endif