Blender V2.61 - r43446
Classes | Typedefs | Functions

mikktspace.h File Reference

Go to the source code of this file.

Classes

struct  SMikkTSpaceInterface
struct  SMikkTSpaceContext

Typedefs

typedef int tbool
typedef struct SMikkTSpaceContext SMikkTSpaceContext

Functions

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

Detailed Description

Definition in file mikktspace.h.


Typedef Documentation

Definition at line 63 of file mikktspace.h.

typedef int tbool

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.

Definition at line 62 of file mikktspace.h.


Function Documentation

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

Definition at line 229 of file mikktspace.c.

References genTangSpace().

Referenced by calc_vertexnormals(), and DM_add_tangent_layer().