001/** 002 * Copyright (c) 2008-2014 Ardor Labs, Inc. 003 * 004 * This file is part of Ardor3D. 005 * 006 * Ardor3D is free software: you can redistribute it and/or modify it 007 * under the terms of its license which may be found in the accompanying 008 * LICENSE file or at <http://www.ardor3d.com/LICENSE>. 009 */ 010 011package com.ardor3d.extension.model.util.nvtristrip; 012 013/** 014 * Ported from <a href="http://developer.nvidia.com/object/nvtristrip_library.html">NVIDIA's NvTriStrip Library</a> 015 */ 016final class NvFaceInfo { 017 int _v0, _v1, _v2; 018 int _stripId; // real strip Id 019 int _testStripId; // strip Id in an experiment 020 int _experimentId; // in what experiment was it given an experiment Id? 021 boolean _isFake; // if true, will be deleted when the strip it's in is deleted 022 023 NvFaceInfo(final int v0, final int v1, final int v2) { 024 this(v0, v1, v2, false); 025 } 026 027 NvFaceInfo(final int v0, final int v1, final int v2, final boolean bIsFake) { 028 _v0 = v0; 029 _v1 = v1; 030 _v2 = v2; 031 _stripId = -1; 032 _testStripId = -1; 033 _experimentId = -1; 034 _isFake = bIsFake; 035 } 036 037 /** 038 * Copies only v0, v1 and v2 039 * 040 * @param source 041 * the source 042 */ 043 public NvFaceInfo(final NvFaceInfo source) { 044 this(source._v0, source._v1, source._v2); 045 } 046}