mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
Added sphere.png
This commit is contained in:
parent
6cdba406e1
commit
2a9d1701cb
3 changed files with 5 additions and 1 deletions
BIN
images/sphere.png
Normal file
BIN
images/sphere.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 15 KiB |
|
@ -27,6 +27,7 @@
|
|||
F68135691648830D003040E3 /* pngtest8rgba.png in CopyFiles */ = {isa = PBXBuildFile; fileRef = F681356816487A7F003040E3 /* pngtest8rgba.png */; };
|
||||
F681356E16488470003040E3 /* philip-image.png in CopyFiles */ = {isa = PBXBuildFile; fileRef = F681356D1648846A003040E3 /* philip-image.png */; };
|
||||
F681358B1648896D003040E3 /* lodepng.cpp in Sources */ = {isa = PBXBuildFile; fileRef = F681358A1648896D003040E3 /* lodepng.cpp */; };
|
||||
F68135971649CF41003040E3 /* sphere.png in CopyFiles */ = {isa = PBXBuildFile; fileRef = F68135951649CF38003040E3 /* sphere.png */; };
|
||||
/* End PBXBuildFile section */
|
||||
|
||||
/* Begin PBXCopyFilesBuildPhase section */
|
||||
|
@ -36,6 +37,7 @@
|
|||
dstPath = "";
|
||||
dstSubfolderSpec = 16;
|
||||
files = (
|
||||
F68135971649CF41003040E3 /* sphere.png in CopyFiles */,
|
||||
F681356E16488470003040E3 /* philip-image.png in CopyFiles */,
|
||||
F68135691648830D003040E3 /* pngtest8rgba.png in CopyFiles */,
|
||||
);
|
||||
|
@ -77,6 +79,7 @@
|
|||
F681356D1648846A003040E3 /* philip-image.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "philip-image.png"; sourceTree = "<group>"; };
|
||||
F681358A1648896D003040E3 /* lodepng.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = lodepng.cpp; sourceTree = "<group>"; };
|
||||
F681358C16488978003040E3 /* lodepng.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = lodepng.h; sourceTree = "<group>"; };
|
||||
F68135951649CF38003040E3 /* sphere.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = sphere.png; sourceTree = "<group>"; };
|
||||
/* End PBXFileReference section */
|
||||
|
||||
/* Begin PBXFrameworksBuildPhase section */
|
||||
|
@ -171,6 +174,7 @@
|
|||
F681356716487A7F003040E3 /* images */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
F68135951649CF38003040E3 /* sphere.png */,
|
||||
F681356D1648846A003040E3 /* philip-image.png */,
|
||||
F681356816487A7F003040E3 /* pngtest8rgba.png */,
|
||||
);
|
||||
|
|
2
main.cpp
2
main.cpp
|
@ -606,7 +606,7 @@ void display(void)
|
|||
but texture origin is at upper left
|
||||
=> it has to be mirrored */
|
||||
|
||||
char texture_filename[] = "pngtest8rgba.png";
|
||||
char texture_filename[] = "sphere.png";
|
||||
unsigned int texture_width = 91;
|
||||
unsigned int texture_height = 69;
|
||||
|
||||
|
|
Loading…
Reference in a new issue