/usr/src/castle-game-engine-5.2.0/x3d/x3dloadinternalspine_textureloader.inc is in castle-game-engine-src 5.2.0-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | {
Copyright 2014-2014 Michalis Kamburelis.
This file is part of "Castle Game Engine".
"Castle Game Engine" is free software; see the file COPYING.txt,
included in this distribution, for details about the copyright.
"Castle Game Engine" is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
----------------------------------------------------------------------------
}
type
TQuadTexCoord = array [0..3] of TVector2Single;
TQuadTexRect = array [0..1] of TVector2Single;
{ Abstract provider of X3D Apperance nodes based on Spine attachment name
(using atlas or not, depending on descendant, like TAtlas or
TSimpleTextureLoader). }
TTextureLoader = class abstract
public
function UseNode(const AttachmentName: string;
out TexCoord: TQuadTexCoord; out TexRect: TQuadTexRect): TImageTextureNode; virtual; abstract;
end;
|