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.md3; 012 013import com.ardor3d.math.Matrix3; 014import com.ardor3d.math.Vector3; 015import com.ardor3d.math.type.ReadOnlyMatrix3; 016import com.ardor3d.math.type.ReadOnlyVector3; 017 018/** 019 * Tag of MD3: http://en.wikipedia.org/wiki/MD3_%28file_format%29#Tag 020 */ 021final class Md3Tag { 022 023 /** name */ 024 final String _name; 025 /** coordinates */ 026 final Vector3 _origin; 027 /** 3x3 rotation matrix */ 028 final Matrix3 _axis; 029 030 Md3Tag(final String name, final ReadOnlyVector3 origin, final ReadOnlyMatrix3 axis) { 031 super(); 032 _origin = new Vector3(); 033 _axis = new Matrix3(); 034 _name = name; 035 _origin.set(origin); 036 _axis.set(axis); 037 } 038}