Search Results for

    Show / Hide Table of Contents

    Struct SpatialSort::Entry

    An entry in a spatially sorted position array. Consists of a vertex index, its position and its pre-calculated distance from the reference plane

    Namespace: Assimp
    Assembly: FlaxEngine.dll
    File: Engine/Tools/ModelTool/SpatialSort.h
    Syntax
    protected struct Entry

    Constructors

    Entry()

    Declaration
    public Entry()

    Entry(unsigned int pIndex, const aiVector3D& pPosition, ai_real pDistance)

    Declaration
    public Entry(unsigned int pIndex, const aiVector3D& pPosition, ai_real pDistance)
    Parameters
    unsigned int pIndex

    aiVector3D pPosition

    ai_real pDistance

    Fields

    mDistance

    Distance of this vertex to the sorting plane.

    Declaration
    public ai_real mDistance
    Field Value
    ai_real

    mIndex

    The vertex referred by this entry.

    Declaration
    public unsigned int mIndex
    Field Value
    unsigned int

    mPosition

    Position.

    Declaration
    public aiVector3D mPosition
    Field Value
    aiVector3D

    Methods

    operator<(const Entry& e)

    Declaration
    public bool operator<(const Entry& e) const
    Parameters
    Entry e

    Returns
    bool

    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2012-2024 Wojciech Figat