29 lines
631 B
Plaintext
29 lines
631 B
Plaintext
/**
|
|
* PANDA 3D SOFTWARE
|
|
* Copyright (c) Carnegie Mellon University. All rights reserved.
|
|
*
|
|
* All use of this software is subject to the terms of the revised BSD
|
|
* license. You should have received a copy of this license along
|
|
* with this source code in a file named "LICENSE."
|
|
*
|
|
* @file colladaInput.I
|
|
* @author rdb
|
|
* @date 2011-05-23
|
|
*/
|
|
|
|
/**
|
|
* Returns true if this has a <vertices> element as source.
|
|
*/
|
|
bool ColladaInput::
|
|
is_vertex_source() const {
|
|
return (_semantic == "VERTEX");
|
|
}
|
|
|
|
/**
|
|
* Returns the offset associated with this input.
|
|
*/
|
|
unsigned int ColladaInput::
|
|
get_offset() const {
|
|
return _offset;
|
|
}
|