Open3D (C++ API)  0.19.0
Data Structures | Macros | Functions
mikktspace.c File Reference
#include <assert.h>
#include <stdio.h>
#include <math.h>
#include <string.h>
#include <float.h>
#include <stdlib.h>
#include "mikktspace.h"

Data Structures

struct  SVec3
 
struct  SSubGroup
 
struct  SGroup
 
struct  STriInfo
 
struct  STSpace
 
struct  STmpVert
 
union  SEdge
 

Macros

#define TFALSE   0
 
#define TTRUE   1
 
#define M_PI   3.1415926535897932384626433832795
 
#define INTERNAL_RND_SORT_SEED   39871946
 
#define MARK_DEGENERATE   1
 
#define QUAD_ONE_DEGEN_TRI   2
 
#define GROUP_WITH_ANY   4
 
#define ORIENT_PRESERVING   8
 
#define NOINLINE   __attribute__ ((noinline))
 

Functions

tbool genTangSpaceDefault (const SMikkTSpaceContext *pContext)
 
tbool genTangSpace (const SMikkTSpaceContext *pContext, const float fAngularThreshold)
 

Macro Definition Documentation

◆ GROUP_WITH_ANY

#define GROUP_WITH_ANY   4

◆ INTERNAL_RND_SORT_SEED

#define INTERNAL_RND_SORT_SEED   39871946

◆ M_PI

#define M_PI   3.1415926535897932384626433832795

◆ MARK_DEGENERATE

#define MARK_DEGENERATE   1

◆ NOINLINE

#define NOINLINE   __attribute__ ((noinline))

◆ ORIENT_PRESERVING

#define ORIENT_PRESERVING   8

◆ QUAD_ONE_DEGEN_TRI

#define QUAD_ONE_DEGEN_TRI   2

◆ TFALSE

#define TFALSE   0

Copyright (C) 2011 by Morten S. Mikkelsen

This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software.

Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions:

  1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required.
  2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software.
  3. This notice may not be removed or altered from any source distribution.

◆ TTRUE

#define TTRUE   1

Function Documentation

◆ genTangSpace()

tbool genTangSpace ( const SMikkTSpaceContext pContext,
const float  fAngularThreshold 
)

◆ genTangSpaceDefault()

tbool genTangSpaceDefault ( const SMikkTSpaceContext pContext)