41 #ifndef foam_gltf_base_H 42 #define foam_gltf_base_H 109 auto key(
const Type& t) ->
typename std::enable_if
111 std::is_enum<Type>::value,
VEC2 UV texture coordinates.
Ostream & indent(Ostream &os)
Indent stream.
void operator=(const base &gltf)
void write(Ostream &os) const
Write.
label & id() noexcept
Return access to the ID.
constexpr char nl
The newline '\n' character (0x0a)
VEC3 Normalised XYZ vertex normals.
fileName::Type type(const fileName &name, const bool followLink=true)
Return the file type: DIRECTORY or FILE, normally following symbolic links.
A class for handling words, derived from Foam::string.
const word & name() const noexcept
Return const access to the name.
~base()=default
Destructor.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
OBJstream os(runTime.globalPath()/outputName)
Base class for glTF entities.
auto key(const Type &t) -> typename std::enable_if< std::is_enum< Type >::value, typename std::underlying_type< Type >::type >::type
VEC3 XYZ vertex positions; requires 'min' and 'max'.
VEC2 UV texture coordinates.
VEC4 XYZW vertex tangents.