From cb3716ffb584fe0f593b6f1669a8efdba1305104 Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Tue, 29 Mar 2016 02:16:55 +1000 Subject: Added my version of libg3d and friends. --- src/others/mimesh/libg3d-0.0.8/doc/Makefile | 516 +++++++ src/others/mimesh/libg3d-0.0.8/doc/Makefile.am | 3 + src/others/mimesh/libg3d-0.0.8/doc/Makefile.in | 516 +++++++ .../libg3d-0.0.8/doc/RELEASE-NOTES-0.0.7.txt | 15 + .../libg3d-0.0.8/doc/RELEASE-NOTES-0.0.8.txt | 6 + src/others/mimesh/libg3d-0.0.8/doc/api/Makefile | 538 +++++++ src/others/mimesh/libg3d-0.0.8/doc/api/Makefile.am | 37 + src/others/mimesh/libg3d-0.0.8/doc/api/Makefile.in | 538 +++++++ .../mimesh/libg3d-0.0.8/doc/api/html/ch01.html | 55 + .../mimesh/libg3d-0.0.8/doc/api/html/ch02.html | 58 + .../mimesh/libg3d-0.0.8/doc/api/html/home.png | Bin 0 -> 654 bytes .../mimesh/libg3d-0.0.8/doc/api/html/index.html | 85 ++ .../mimesh/libg3d-0.0.8/doc/api/html/index.sgml | 242 +++ .../mimesh/libg3d-0.0.8/doc/api/html/left.png | Bin 0 -> 459 bytes .../libg3d-0.0.8/doc/api/html/libg3d-context.html | 531 +++++++ .../libg3d-0.0.8/doc/api/html/libg3d-face.html | 255 ++++ .../libg3d-0.0.8/doc/api/html/libg3d-iff.html | 872 +++++++++++ .../libg3d-0.0.8/doc/api/html/libg3d-material.html | 174 +++ .../libg3d-0.0.8/doc/api/html/libg3d-matrix.html | 450 ++++++ .../libg3d-0.0.8/doc/api/html/libg3d-model.html | 438 ++++++ .../libg3d-0.0.8/doc/api/html/libg3d-object.html | 466 ++++++ .../libg3d-0.0.8/doc/api/html/libg3d-plugins.html | 727 +++++++++ .../doc/api/html/libg3d-primitive.html | 508 +++++++ .../libg3d-0.0.8/doc/api/html/libg3d-quat.html | 346 +++++ .../libg3d-0.0.8/doc/api/html/libg3d-read.html | 373 +++++ .../libg3d-0.0.8/doc/api/html/libg3d-stream.html | 1535 ++++++++++++++++++++ .../libg3d-0.0.8/doc/api/html/libg3d-texture.html | 455 ++++++ .../libg3d-0.0.8/doc/api/html/libg3d-types.html | 109 ++ .../libg3d-0.0.8/doc/api/html/libg3d-vector.html | 266 ++++ .../libg3d-0.0.8/doc/api/html/libg3d.devhelp | 204 +++ .../libg3d-0.0.8/doc/api/html/libg3d.devhelp2 | 204 +++ .../mimesh/libg3d-0.0.8/doc/api/html/right.png | Bin 0 -> 472 bytes .../mimesh/libg3d-0.0.8/doc/api/html/style.css | 160 ++ src/others/mimesh/libg3d-0.0.8/doc/api/html/up.png | Bin 0 -> 406 bytes .../mimesh/libg3d-0.0.8/doc/api/libg3d-docs.sgml | 35 + .../libg3d-0.0.8/doc/api/libg3d-overrides.txt | 0 .../libg3d-0.0.8/doc/api/libg3d-sections.txt | 256 ++++ .../mimesh/libg3d-0.0.8/doc/api/libg3d.types | 2 + .../mimesh/libg3d-0.0.8/doc/api/tmpl/context.sgml | 137 ++ .../mimesh/libg3d-0.0.8/doc/api/tmpl/face.sgml | 75 + .../mimesh/libg3d-0.0.8/doc/api/tmpl/iff.sgml | 242 +++ .../libg3d-0.0.8/doc/api/tmpl/libg3d-unused.sgml | 0 .../mimesh/libg3d-0.0.8/doc/api/tmpl/material.sgml | 50 + .../mimesh/libg3d-0.0.8/doc/api/tmpl/matrix.sgml | 121 ++ .../mimesh/libg3d-0.0.8/doc/api/tmpl/model.sgml | 139 ++ .../mimesh/libg3d-0.0.8/doc/api/tmpl/object.sgml | 125 ++ .../mimesh/libg3d-0.0.8/doc/api/tmpl/plugins.sgml | 187 +++ .../libg3d-0.0.8/doc/api/tmpl/primitive.sgml | 110 ++ .../mimesh/libg3d-0.0.8/doc/api/tmpl/quat.sgml | 92 ++ .../mimesh/libg3d-0.0.8/doc/api/tmpl/read.sgml | 111 ++ .../mimesh/libg3d-0.0.8/doc/api/tmpl/stream.sgml | 391 +++++ .../mimesh/libg3d-0.0.8/doc/api/tmpl/texture.sgml | 121 ++ .../mimesh/libg3d-0.0.8/doc/api/tmpl/types.sgml | 44 + .../mimesh/libg3d-0.0.8/doc/api/tmpl/vector.sgml | 65 + .../mimesh/libg3d-0.0.8/doc/api/xml/context.xml | 321 ++++ .../mimesh/libg3d-0.0.8/doc/api/xml/face.xml | 197 +++ src/others/mimesh/libg3d-0.0.8/doc/api/xml/iff.xml | 558 +++++++ .../mimesh/libg3d-0.0.8/doc/api/xml/material.xml | 142 ++ .../mimesh/libg3d-0.0.8/doc/api/xml/matrix.xml | 278 ++++ .../mimesh/libg3d-0.0.8/doc/api/xml/model.xml | 285 ++++ .../mimesh/libg3d-0.0.8/doc/api/xml/object.xml | 301 ++++ .../mimesh/libg3d-0.0.8/doc/api/xml/plugins.xml | 423 ++++++ .../mimesh/libg3d-0.0.8/doc/api/xml/primitive.xml | 302 ++++ .../mimesh/libg3d-0.0.8/doc/api/xml/quat.xml | 220 +++ .../mimesh/libg3d-0.0.8/doc/api/xml/read.xml | 218 +++ .../mimesh/libg3d-0.0.8/doc/api/xml/stream.xml | 801 ++++++++++ .../mimesh/libg3d-0.0.8/doc/api/xml/texture.xml | 318 ++++ .../mimesh/libg3d-0.0.8/doc/api/xml/types.xml | 92 ++ .../mimesh/libg3d-0.0.8/doc/api/xml/vector.xml | 184 +++ .../libg3d-0.0.8/doc/support_matrix/Makefile | 360 +++++ .../libg3d-0.0.8/doc/support_matrix/Makefile.am | 5 + .../libg3d-0.0.8/doc/support_matrix/Makefile.in | 360 +++++ .../libg3d-0.0.8/doc/support_matrix/matrix.html | 825 +++++++++++ 73 files changed, 19175 insertions(+) create mode 100644 src/others/mimesh/libg3d-0.0.8/doc/Makefile create mode 100644 src/others/mimesh/libg3d-0.0.8/doc/Makefile.am create mode 100644 src/others/mimesh/libg3d-0.0.8/doc/Makefile.in create mode 100644 src/others/mimesh/libg3d-0.0.8/doc/RELEASE-NOTES-0.0.7.txt create mode 100644 src/others/mimesh/libg3d-0.0.8/doc/RELEASE-NOTES-0.0.8.txt create mode 100644 src/others/mimesh/libg3d-0.0.8/doc/api/Makefile create mode 100644 src/others/mimesh/libg3d-0.0.8/doc/api/Makefile.am create mode 100644 src/others/mimesh/libg3d-0.0.8/doc/api/Makefile.in create mode 100644 src/others/mimesh/libg3d-0.0.8/doc/api/html/ch01.html create mode 100644 src/others/mimesh/libg3d-0.0.8/doc/api/html/ch02.html create mode 100644 src/others/mimesh/libg3d-0.0.8/doc/api/html/home.png create mode 100644 src/others/mimesh/libg3d-0.0.8/doc/api/html/index.html create mode 100644 src/others/mimesh/libg3d-0.0.8/doc/api/html/index.sgml create mode 100644 src/others/mimesh/libg3d-0.0.8/doc/api/html/left.png create mode 100644 src/others/mimesh/libg3d-0.0.8/doc/api/html/libg3d-context.html create mode 100644 src/others/mimesh/libg3d-0.0.8/doc/api/html/libg3d-face.html create mode 100644 src/others/mimesh/libg3d-0.0.8/doc/api/html/libg3d-iff.html create mode 100644 src/others/mimesh/libg3d-0.0.8/doc/api/html/libg3d-material.html create mode 100644 src/others/mimesh/libg3d-0.0.8/doc/api/html/libg3d-matrix.html create mode 100644 src/others/mimesh/libg3d-0.0.8/doc/api/html/libg3d-model.html create mode 100644 src/others/mimesh/libg3d-0.0.8/doc/api/html/libg3d-object.html create mode 100644 src/others/mimesh/libg3d-0.0.8/doc/api/html/libg3d-plugins.html create mode 100644 src/others/mimesh/libg3d-0.0.8/doc/api/html/libg3d-primitive.html create mode 100644 src/others/mimesh/libg3d-0.0.8/doc/api/html/libg3d-quat.html create mode 100644 src/others/mimesh/libg3d-0.0.8/doc/api/html/libg3d-read.html create mode 100644 src/others/mimesh/libg3d-0.0.8/doc/api/html/libg3d-stream.html create mode 100644 src/others/mimesh/libg3d-0.0.8/doc/api/html/libg3d-texture.html create mode 100644 src/others/mimesh/libg3d-0.0.8/doc/api/html/libg3d-types.html create mode 100644 src/others/mimesh/libg3d-0.0.8/doc/api/html/libg3d-vector.html create mode 100644 src/others/mimesh/libg3d-0.0.8/doc/api/html/libg3d.devhelp create mode 100644 src/others/mimesh/libg3d-0.0.8/doc/api/html/libg3d.devhelp2 create mode 100644 src/others/mimesh/libg3d-0.0.8/doc/api/html/right.png create mode 100644 src/others/mimesh/libg3d-0.0.8/doc/api/html/style.css create mode 100644 src/others/mimesh/libg3d-0.0.8/doc/api/html/up.png create mode 100644 src/others/mimesh/libg3d-0.0.8/doc/api/libg3d-docs.sgml create mode 100644 src/others/mimesh/libg3d-0.0.8/doc/api/libg3d-overrides.txt create mode 100644 src/others/mimesh/libg3d-0.0.8/doc/api/libg3d-sections.txt create mode 100644 src/others/mimesh/libg3d-0.0.8/doc/api/libg3d.types create mode 100644 src/others/mimesh/libg3d-0.0.8/doc/api/tmpl/context.sgml create mode 100644 src/others/mimesh/libg3d-0.0.8/doc/api/tmpl/face.sgml create mode 100644 src/others/mimesh/libg3d-0.0.8/doc/api/tmpl/iff.sgml create mode 100644 src/others/mimesh/libg3d-0.0.8/doc/api/tmpl/libg3d-unused.sgml create mode 100644 src/others/mimesh/libg3d-0.0.8/doc/api/tmpl/material.sgml create mode 100644 src/others/mimesh/libg3d-0.0.8/doc/api/tmpl/matrix.sgml create mode 100644 src/others/mimesh/libg3d-0.0.8/doc/api/tmpl/model.sgml create mode 100644 src/others/mimesh/libg3d-0.0.8/doc/api/tmpl/object.sgml create mode 100644 src/others/mimesh/libg3d-0.0.8/doc/api/tmpl/plugins.sgml create mode 100644 src/others/mimesh/libg3d-0.0.8/doc/api/tmpl/primitive.sgml create mode 100644 src/others/mimesh/libg3d-0.0.8/doc/api/tmpl/quat.sgml create mode 100644 src/others/mimesh/libg3d-0.0.8/doc/api/tmpl/read.sgml create mode 100644 src/others/mimesh/libg3d-0.0.8/doc/api/tmpl/stream.sgml create mode 100644 src/others/mimesh/libg3d-0.0.8/doc/api/tmpl/texture.sgml create mode 100644 src/others/mimesh/libg3d-0.0.8/doc/api/tmpl/types.sgml create mode 100644 src/others/mimesh/libg3d-0.0.8/doc/api/tmpl/vector.sgml create mode 100644 src/others/mimesh/libg3d-0.0.8/doc/api/xml/context.xml create mode 100644 src/others/mimesh/libg3d-0.0.8/doc/api/xml/face.xml create mode 100644 src/others/mimesh/libg3d-0.0.8/doc/api/xml/iff.xml create mode 100644 src/others/mimesh/libg3d-0.0.8/doc/api/xml/material.xml create mode 100644 src/others/mimesh/libg3d-0.0.8/doc/api/xml/matrix.xml create mode 100644 src/others/mimesh/libg3d-0.0.8/doc/api/xml/model.xml create mode 100644 src/others/mimesh/libg3d-0.0.8/doc/api/xml/object.xml create mode 100644 src/others/mimesh/libg3d-0.0.8/doc/api/xml/plugins.xml create mode 100644 src/others/mimesh/libg3d-0.0.8/doc/api/xml/primitive.xml create mode 100644 src/others/mimesh/libg3d-0.0.8/doc/api/xml/quat.xml create mode 100644 src/others/mimesh/libg3d-0.0.8/doc/api/xml/read.xml create mode 100644 src/others/mimesh/libg3d-0.0.8/doc/api/xml/stream.xml create mode 100644 src/others/mimesh/libg3d-0.0.8/doc/api/xml/texture.xml create mode 100644 src/others/mimesh/libg3d-0.0.8/doc/api/xml/types.xml create mode 100644 src/others/mimesh/libg3d-0.0.8/doc/api/xml/vector.xml create mode 100644 src/others/mimesh/libg3d-0.0.8/doc/support_matrix/Makefile create mode 100644 src/others/mimesh/libg3d-0.0.8/doc/support_matrix/Makefile.am create mode 100644 src/others/mimesh/libg3d-0.0.8/doc/support_matrix/Makefile.in create mode 100644 src/others/mimesh/libg3d-0.0.8/doc/support_matrix/matrix.html (limited to 'src/others/mimesh/libg3d-0.0.8/doc') diff --git a/src/others/mimesh/libg3d-0.0.8/doc/Makefile b/src/others/mimesh/libg3d-0.0.8/doc/Makefile new file mode 100644 index 0000000..a567252 --- /dev/null +++ b/src/others/mimesh/libg3d-0.0.8/doc/Makefile @@ -0,0 +1,516 @@ +# Makefile.in generated by automake 1.10.1 from Makefile.am. +# doc/Makefile. Generated from Makefile.in by configure. + +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + + + +pkgdatadir = $(datadir)/libg3d +pkglibdir = $(libdir)/libg3d +pkgincludedir = $(includedir)/libg3d +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +build_triplet = x86_64-unknown-linux-gnu +host_triplet = x86_64-unknown-linux-gnu +subdir = doc +DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/m4/acinclude.m4 \ + $(top_srcdir)/m4/glib-2.0.m4 $(top_srcdir)/m4/gtk-2.0.m4 \ + $(top_srcdir)/m4/gtk-doc.m4 $(top_srcdir)/m4/libtool.m4 \ + $(top_srcdir)/m4/libxml2.m4 $(top_srcdir)/m4/win32.m4 \ + $(top_srcdir)/configure.in +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +mkinstalldirs = $(install_sh) -d +CONFIG_HEADER = $(top_builddir)/include/g3d/config.h +CONFIG_CLEAN_FILES = +SOURCES = +DIST_SOURCES = +RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ + html-recursive info-recursive install-data-recursive \ + install-dvi-recursive install-exec-recursive \ + install-html-recursive install-info-recursive \ + install-pdf-recursive install-ps-recursive install-recursive \ + installcheck-recursive installdirs-recursive pdf-recursive \ + ps-recursive uninstall-recursive +RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ + distclean-recursive maintainer-clean-recursive +ETAGS = etags +CTAGS = ctags +DIST_SUBDIRS = $(SUBDIRS) +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +ACLOCAL = ${SHELL} /home/dvs1/VirtualWorlds/SOURCE/SledjHamr/src/others/mimesh/libg3d-0.0.8/config/missing --run aclocal-1.10 +AMTAR = ${SHELL} /home/dvs1/VirtualWorlds/SOURCE/SledjHamr/src/others/mimesh/libg3d-0.0.8/config/missing --run tar +AR = ar +AS = as +AUTOCONF = ${SHELL} /home/dvs1/VirtualWorlds/SOURCE/SledjHamr/src/others/mimesh/libg3d-0.0.8/config/missing --run autoconf +AUTOHEADER = ${SHELL} /home/dvs1/VirtualWorlds/SOURCE/SledjHamr/src/others/mimesh/libg3d-0.0.8/config/missing --run autoheader +AUTOMAKE = ${SHELL} /home/dvs1/VirtualWorlds/SOURCE/SledjHamr/src/others/mimesh/libg3d-0.0.8/config/missing --run automake-1.10 +AWK = gawk +CC = gcc +CCDEPMODE = depmode=gcc3 +CFLAGS = -g -O2 +CPP = gcc -E +CPPFLAGS = +CXX = g++ +CXXCPP = g++ -E +CXXDEPMODE = depmode=gcc3 +CXXFLAGS = -g -O2 +CYGPATH_W = echo +DBG_CFLAGS = -O2 +DEBUG = 0 +DEFS = -DHAVE_CONFIG_H +DEPDIR = .deps +DLLTOOL = dlltool +ECHO = echo +ECHO_C = +ECHO_N = -n +ECHO_T = +EGREP = /bin/grep -E +EXEEXT = +F77 = +FFLAGS = +GDKPIXBUF_CFLAGS = -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 +GDKPIXBUF_LIBS = -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lglib-2.0 +GLIB_CFLAGS = -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include +GLIB_GENMARSHAL = glib-genmarshal +GLIB_LIBS = -Wl,--export-dynamic -pthread -lgmodule-2.0 -lrt -lgobject-2.0 -lglib-2.0 +GLIB_MKENUMS = glib-mkenums +GOBJECT_QUERY = gobject-query +GREP = /bin/grep +GTKDOC_CHECK = /usr/bin/gtkdoc-check +GTK_CFLAGS = -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 +GTK_LIBS = -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lglib-2.0 +HTML_DIR = ${datadir}/gtk-doc/html +INSTALL = /usr/bin/install -c +INSTALL_DATA = ${INSTALL} -m 644 +INSTALL_PROGRAM = ${INSTALL} +INSTALL_SCRIPT = ${INSTALL} +INSTALL_STRIP_PROGRAM = $(install_sh) -c -s +LDFLAGS = +LEX = flex +LEXLIB = -lfl +LEX_OUTPUT_ROOT = lex.yy +LIBGSF_CFLAGS = -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/libgsf-1 +LIBGSF_LIBS = -lgsf-1 -lgobject-2.0 -lxml2 -lglib-2.0 +LIBOBJS = +LIBS = -lm +LIBTOOL = $(SHELL) $(top_builddir)/libtool +LIBXML2_CFLAGS = -I/usr/include/libxml2 +LIBXML2_LIBS = -L/usr/lib/x86_64-linux-gnu -lxml2 +LN_S = ln -s +LTLIBOBJS = +LTVERSION = 0:8:0 +MAGIC_LIBS = -lmagic +MAKEINFO = ${SHELL} /home/dvs1/VirtualWorlds/SOURCE/SledjHamr/src/others/mimesh/libg3d-0.0.8/config/missing --run makeinfo +MATH_LIBS = -lm +MKDIR_P = /bin/mkdir -p +OBJDUMP = objdump +OBJEXT = o +PACKAGE = libg3d +PACKAGE_BUGREPORT = +PACKAGE_NAME = +PACKAGE_STRING = +PACKAGE_TARNAME = +PACKAGE_VERSION = +PATH_SEPARATOR = : +PKG_CONFIG = /usr/bin/pkg-config +PLUGINS_LDFLAGS = -avoid-version -export-dynamic +RANLIB = ranlib +SET_MAKE = +SHELL = /bin/bash +STRIP = strip +VERSION = 0.0.8 +XML2_CONFIG = /usr/bin/xml2-config +XML_CPPFLAGS = -I/usr/include/libxml2 +XML_LIBS = -L/usr/lib/x86_64-linux-gnu -lxml2 +Z_CFLAGS = +Z_LIBS = -lz +abs_builddir = /home/dvs1/VirtualWorlds/SOURCE/SledjHamr/src/others/mimesh/libg3d-0.0.8/doc +abs_srcdir = /home/dvs1/VirtualWorlds/SOURCE/SledjHamr/src/others/mimesh/libg3d-0.0.8/doc +abs_top_builddir = /home/dvs1/VirtualWorlds/SOURCE/SledjHamr/src/others/mimesh/libg3d-0.0.8 +abs_top_srcdir = /home/dvs1/VirtualWorlds/SOURCE/SledjHamr/src/others/mimesh/libg3d-0.0.8 +ac_ct_CC = gcc +ac_ct_CXX = g++ +ac_ct_F77 = +am__include = include +am__leading_dot = . +am__quote = +am__tar = ${AMTAR} chof - "$$tardir" +am__untar = ${AMTAR} xf - +bindir = ${exec_prefix}/bin +build = x86_64-unknown-linux-gnu +build_alias = +build_cpu = x86_64 +build_os = linux-gnu +build_vendor = unknown +builddir = . +datadir = ${datarootdir} +datarootdir = ${prefix}/share +docdir = ${datarootdir}/doc/${PACKAGE} +dvidir = ${docdir} +exec_prefix = ${prefix} +host = x86_64-unknown-linux-gnu +host_alias = +host_cpu = x86_64 +host_os = linux-gnu +host_vendor = unknown +htmldir = ${docdir} +includedir = ${prefix}/include +infodir = ${datarootdir}/info +install_sh = $(SHELL) /home/dvs1/VirtualWorlds/SOURCE/SledjHamr/src/others/mimesh/libg3d-0.0.8/config/install-sh +libdir = ${exec_prefix}/lib +libexecdir = ${exec_prefix}/libexec +localedir = ${datarootdir}/locale +localstatedir = ${prefix}/var +mandir = ${datarootdir}/man +mkdir_p = /bin/mkdir -p +oldincludedir = /usr/include +pdfdir = ${docdir} +prefix = /usr/local +program_transform_name = s,x,x, +psdir = ${docdir} +sbindir = ${exec_prefix}/sbin +sharedstatedir = ${prefix}/com +srcdir = . +sysconfdir = ${prefix}/etc +target_alias = +top_builddir = .. +top_srcdir = .. +SUBDIRS = api support_matrix +EXTRA_DIST = RELEASE-NOTES-0.0.7.txt RELEASE-NOTES-0.0.8.txt +all: all-recursive + +.SUFFIXES: +$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ + && exit 0; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu doc/Makefile'; \ + cd $(top_srcdir) && \ + $(AUTOMAKE) --gnu doc/Makefile +.PRECIOUS: Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ + esac; + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +$(top_srcdir)/configure: $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +mostlyclean-libtool: + -rm -f *.lo + +clean-libtool: + -rm -rf .libs _libs + +# This directory's subdirectories are mostly independent; you can cd +# into them and run `make' without going through this Makefile. +# To change the values of `make' variables: instead of editing Makefiles, +# (1) if the variable is set in `config.status', edit `config.status' +# (which will cause the Makefiles to be regenerated when you run `make'); +# (2) otherwise, pass the desired values on the `make' command line. +$(RECURSIVE_TARGETS): + @failcom='exit 1'; \ + for f in x $$MAKEFLAGS; do \ + case $$f in \ + *=* | --[!k]*);; \ + *k*) failcom='fail=yes';; \ + esac; \ + done; \ + dot_seen=no; \ + target=`echo $@ | sed s/-recursive//`; \ + list='$(SUBDIRS)'; for subdir in $$list; do \ + echo "Making $$target in $$subdir"; \ + if test "$$subdir" = "."; then \ + dot_seen=yes; \ + local_target="$$target-am"; \ + else \ + local_target="$$target"; \ + fi; \ + (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + || eval $$failcom; \ + done; \ + if test "$$dot_seen" = "no"; then \ + $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ + fi; test -z "$$fail" + +$(RECURSIVE_CLEAN_TARGETS): + @failcom='exit 1'; \ + for f in x $$MAKEFLAGS; do \ + case $$f in \ + *=* | --[!k]*);; \ + *k*) failcom='fail=yes';; \ + esac; \ + done; \ + dot_seen=no; \ + case "$@" in \ + distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ + *) list='$(SUBDIRS)' ;; \ + esac; \ + rev=''; for subdir in $$list; do \ + if test "$$subdir" = "."; then :; else \ + rev="$$subdir $$rev"; \ + fi; \ + done; \ + rev="$$rev ."; \ + target=`echo $@ | sed s/-recursive//`; \ + for subdir in $$rev; do \ + echo "Making $$target in $$subdir"; \ + if test "$$subdir" = "."; then \ + local_target="$$target-am"; \ + else \ + local_target="$$target"; \ + fi; \ + (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + || eval $$failcom; \ + done && test -z "$$fail" +tags-recursive: + list='$(SUBDIRS)'; for subdir in $$list; do \ + test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ + done +ctags-recursive: + list='$(SUBDIRS)'; for subdir in $$list; do \ + test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ + done + +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ + mkid -fID $$unique +tags: TAGS + +TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + tags=; \ + here=`pwd`; \ + if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ + include_option=--etags-include; \ + empty_fix=.; \ + else \ + include_option=--include; \ + empty_fix=; \ + fi; \ + list='$(SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + test ! -f $$subdir/TAGS || \ + tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \ + fi; \ + done; \ + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ + if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + $$tags $$unique; \ + fi +ctags: CTAGS +CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + tags=; \ + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ + test -z "$(CTAGS_ARGS)$$tags$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$tags $$unique + +GTAGS: + here=`$(am__cd) $(top_builddir) && pwd` \ + && cd $(top_srcdir) \ + && gtags -i $(GTAGS_ARGS) $$here + +distclean-tags: + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags + +distdir: $(DISTFILES) + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + list='$(DISTFILES)'; \ + dist_files=`for file in $$list; do echo $$file; done | \ + sed -e "s|^$$srcdirstrip/||;t" \ + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ + case $$dist_files in \ + */*) $(MKDIR_P) `echo "$$dist_files" | \ + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ + sort -u` ;; \ + esac; \ + for file in $$dist_files; do \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ + fi; \ + cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ + else \ + test -f $(distdir)/$$file \ + || cp -p $$d/$$file $(distdir)/$$file \ + || exit 1; \ + fi; \ + done + list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + test -d "$(distdir)/$$subdir" \ + || $(MKDIR_P) "$(distdir)/$$subdir" \ + || exit 1; \ + distdir=`$(am__cd) $(distdir) && pwd`; \ + top_distdir=`$(am__cd) $(top_distdir) && pwd`; \ + (cd $$subdir && \ + $(MAKE) $(AM_MAKEFLAGS) \ + top_distdir="$$top_distdir" \ + distdir="$$distdir/$$subdir" \ + am__remove_distdir=: \ + am__skip_length_check=: \ + distdir) \ + || exit 1; \ + fi; \ + done +check-am: all-am +check: check-recursive +all-am: Makefile +installdirs: installdirs-recursive +installdirs-am: +install: install-recursive +install-exec: install-exec-recursive +install-data: install-data-recursive +uninstall: uninstall-recursive + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-recursive +install-strip: + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + `test -z '$(STRIP)' || \ + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." +clean: clean-recursive + +clean-am: clean-generic clean-libtool mostlyclean-am + +distclean: distclean-recursive + -rm -f Makefile +distclean-am: clean-am distclean-generic distclean-tags + +dvi: dvi-recursive + +dvi-am: + +html: html-recursive + +info: info-recursive + +info-am: + +install-data-am: + +install-dvi: install-dvi-recursive + +install-exec-am: + +install-html: install-html-recursive + +install-info: install-info-recursive + +install-man: + +install-pdf: install-pdf-recursive + +install-ps: install-ps-recursive + +installcheck-am: + +maintainer-clean: maintainer-clean-recursive + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-recursive + +mostlyclean-am: mostlyclean-generic mostlyclean-libtool + +pdf: pdf-recursive + +pdf-am: + +ps: ps-recursive + +ps-am: + +uninstall-am: + +.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \ + install-strip + +.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ + all all-am check check-am clean clean-generic clean-libtool \ + ctags ctags-recursive distclean distclean-generic \ + distclean-libtool distclean-tags distdir dvi dvi-am html \ + html-am info info-am install install-am install-data \ + install-data-am install-dvi install-dvi-am install-exec \ + install-exec-am install-html install-html-am install-info \ + install-info-am install-man install-pdf install-pdf-am \ + install-ps install-ps-am install-strip installcheck \ + installcheck-am installdirs installdirs-am maintainer-clean \ + maintainer-clean-generic mostlyclean mostlyclean-generic \ + mostlyclean-libtool pdf pdf-am ps ps-am tags tags-recursive \ + uninstall uninstall-am + +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: diff --git a/src/others/mimesh/libg3d-0.0.8/doc/Makefile.am b/src/others/mimesh/libg3d-0.0.8/doc/Makefile.am new file mode 100644 index 0000000..1d79c1f --- /dev/null +++ b/src/others/mimesh/libg3d-0.0.8/doc/Makefile.am @@ -0,0 +1,3 @@ +SUBDIRS = api support_matrix + +EXTRA_DIST = RELEASE-NOTES-0.0.7.txt RELEASE-NOTES-0.0.8.txt diff --git a/src/others/mimesh/libg3d-0.0.8/doc/Makefile.in b/src/others/mimesh/libg3d-0.0.8/doc/Makefile.in new file mode 100644 index 0000000..2f9ae89 --- /dev/null +++ b/src/others/mimesh/libg3d-0.0.8/doc/Makefile.in @@ -0,0 +1,516 @@ +# Makefile.in generated by automake 1.10.1 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +@SET_MAKE@ +VPATH = @srcdir@ +pkgdatadir = $(datadir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +build_triplet = @build@ +host_triplet = @host@ +subdir = doc +DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/m4/acinclude.m4 \ + $(top_srcdir)/m4/glib-2.0.m4 $(top_srcdir)/m4/gtk-2.0.m4 \ + $(top_srcdir)/m4/gtk-doc.m4 $(top_srcdir)/m4/libtool.m4 \ + $(top_srcdir)/m4/libxml2.m4 $(top_srcdir)/m4/win32.m4 \ + $(top_srcdir)/configure.in +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +mkinstalldirs = $(install_sh) -d +CONFIG_HEADER = $(top_builddir)/include/g3d/config.h +CONFIG_CLEAN_FILES = +SOURCES = +DIST_SOURCES = +RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ + html-recursive info-recursive install-data-recursive \ + install-dvi-recursive install-exec-recursive \ + install-html-recursive install-info-recursive \ + install-pdf-recursive install-ps-recursive install-recursive \ + installcheck-recursive installdirs-recursive pdf-recursive \ + ps-recursive uninstall-recursive +RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ + distclean-recursive maintainer-clean-recursive +ETAGS = etags +CTAGS = ctags +DIST_SUBDIRS = $(SUBDIRS) +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +ACLOCAL = @ACLOCAL@ +AMTAR = @AMTAR@ +AR = @AR@ +AS = @AS@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CFLAGS = @CFLAGS@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CXX = @CXX@ +CXXCPP = @CXXCPP@ +CXXDEPMODE = @CXXDEPMODE@ +CXXFLAGS = @CXXFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DBG_CFLAGS = @DBG_CFLAGS@ +DEBUG = @DEBUG@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ +ECHO = @ECHO@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ +EXEEXT = @EXEEXT@ +F77 = @F77@ +FFLAGS = @FFLAGS@ +GDKPIXBUF_CFLAGS = @GDKPIXBUF_CFLAGS@ +GDKPIXBUF_LIBS = @GDKPIXBUF_LIBS@ +GLIB_CFLAGS = @GLIB_CFLAGS@ +GLIB_GENMARSHAL = @GLIB_GENMARSHAL@ +GLIB_LIBS = @GLIB_LIBS@ +GLIB_MKENUMS = @GLIB_MKENUMS@ +GOBJECT_QUERY = @GOBJECT_QUERY@ +GREP = @GREP@ +GTKDOC_CHECK = @GTKDOC_CHECK@ +GTK_CFLAGS = @GTK_CFLAGS@ +GTK_LIBS = @GTK_LIBS@ +HTML_DIR = @HTML_DIR@ +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +LDFLAGS = @LDFLAGS@ +LEX = @LEX@ +LEXLIB = @LEXLIB@ +LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@ +LIBGSF_CFLAGS = @LIBGSF_CFLAGS@ +LIBGSF_LIBS = @LIBGSF_LIBS@ +LIBOBJS = @LIBOBJS@ +LIBS = @LIBS@ +LIBTOOL = @LIBTOOL@ +LIBXML2_CFLAGS = @LIBXML2_CFLAGS@ +LIBXML2_LIBS = @LIBXML2_LIBS@ +LN_S = @LN_S@ +LTLIBOBJS = @LTLIBOBJS@ +LTVERSION = @LTVERSION@ +MAGIC_LIBS = @MAGIC_LIBS@ +MAKEINFO = @MAKEINFO@ +MATH_LIBS = @MATH_LIBS@ +MKDIR_P = @MKDIR_P@ +OBJDUMP = @OBJDUMP@ +OBJEXT = @OBJEXT@ +PACKAGE = @PACKAGE@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_STRING = @PACKAGE_STRING@ +PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_VERSION = @PACKAGE_VERSION@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +PKG_CONFIG = @PKG_CONFIG@ +PLUGINS_LDFLAGS = @PLUGINS_LDFLAGS@ +RANLIB = @RANLIB@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +STRIP = @STRIP@ +VERSION = @VERSION@ +XML2_CONFIG = @XML2_CONFIG@ +XML_CPPFLAGS = @XML_CPPFLAGS@ +XML_LIBS = @XML_LIBS@ +Z_CFLAGS = @Z_CFLAGS@ +Z_LIBS = @Z_LIBS@ +abs_builddir = @abs_builddir@ +abs_srcdir = @abs_srcdir@ +abs_top_builddir = @abs_top_builddir@ +abs_top_srcdir = @abs_top_srcdir@ +ac_ct_CC = @ac_ct_CC@ +ac_ct_CXX = @ac_ct_CXX@ +ac_ct_F77 = @ac_ct_F77@ +am__include = @am__include@ +am__leading_dot = @am__leading_dot@ +am__quote = @am__quote@ +am__tar = @am__tar@ +am__untar = @am__untar@ +bindir = @bindir@ +build = @build@ +build_alias = @build_alias@ +build_cpu = @build_cpu@ +build_os = @build_os@ +build_vendor = @build_vendor@ +builddir = @builddir@ +datadir = @datadir@ +datarootdir = @datarootdir@ +docdir = @docdir@ +dvidir = @dvidir@ +exec_prefix = @exec_prefix@ +host = @host@ +host_alias = @host_alias@ +host_cpu = @host_cpu@ +host_os = @host_os@ +host_vendor = @host_vendor@ +htmldir = @htmldir@ +includedir = @includedir@ +infodir = @infodir@ +install_sh = @install_sh@ +libdir = @libdir@ +libexecdir = @libexecdir@ +localedir = @localedir@ +localstatedir = @localstatedir@ +mandir = @mandir@ +mkdir_p = @mkdir_p@ +oldincludedir = @oldincludedir@ +pdfdir = @pdfdir@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +psdir = @psdir@ +sbindir = @sbindir@ +sharedstatedir = @sharedstatedir@ +srcdir = @srcdir@ +sysconfdir = @sysconfdir@ +target_alias = @target_alias@ +top_builddir = @top_builddir@ +top_srcdir = @top_srcdir@ +SUBDIRS = api support_matrix +EXTRA_DIST = RELEASE-NOTES-0.0.7.txt RELEASE-NOTES-0.0.8.txt +all: all-recursive + +.SUFFIXES: +$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ + && exit 0; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu doc/Makefile'; \ + cd $(top_srcdir) && \ + $(AUTOMAKE) --gnu doc/Makefile +.PRECIOUS: Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ + esac; + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +$(top_srcdir)/configure: $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +mostlyclean-libtool: + -rm -f *.lo + +clean-libtool: + -rm -rf .libs _libs + +# This directory's subdirectories are mostly independent; you can cd +# into them and run `make' without going through this Makefile. +# To change the values of `make' variables: instead of editing Makefiles, +# (1) if the variable is set in `config.status', edit `config.status' +# (which will cause the Makefiles to be regenerated when you run `make'); +# (2) otherwise, pass the desired values on the `make' command line. +$(RECURSIVE_TARGETS): + @failcom='exit 1'; \ + for f in x $$MAKEFLAGS; do \ + case $$f in \ + *=* | --[!k]*);; \ + *k*) failcom='fail=yes';; \ + esac; \ + done; \ + dot_seen=no; \ + target=`echo $@ | sed s/-recursive//`; \ + list='$(SUBDIRS)'; for subdir in $$list; do \ + echo "Making $$target in $$subdir"; \ + if test "$$subdir" = "."; then \ + dot_seen=yes; \ + local_target="$$target-am"; \ + else \ + local_target="$$target"; \ + fi; \ + (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + || eval $$failcom; \ + done; \ + if test "$$dot_seen" = "no"; then \ + $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ + fi; test -z "$$fail" + +$(RECURSIVE_CLEAN_TARGETS): + @failcom='exit 1'; \ + for f in x $$MAKEFLAGS; do \ + case $$f in \ + *=* | --[!k]*);; \ + *k*) failcom='fail=yes';; \ + esac; \ + done; \ + dot_seen=no; \ + case "$@" in \ + distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ + *) list='$(SUBDIRS)' ;; \ + esac; \ + rev=''; for subdir in $$list; do \ + if test "$$subdir" = "."; then :; else \ + rev="$$subdir $$rev"; \ + fi; \ + done; \ + rev="$$rev ."; \ + target=`echo $@ | sed s/-recursive//`; \ + for subdir in $$rev; do \ + echo "Making $$target in $$subdir"; \ + if test "$$subdir" = "."; then \ + local_target="$$target-am"; \ + else \ + local_target="$$target"; \ + fi; \ + (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + || eval $$failcom; \ + done && test -z "$$fail" +tags-recursive: + list='$(SUBDIRS)'; for subdir in $$list; do \ + test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ + done +ctags-recursive: + list='$(SUBDIRS)'; for subdir in $$list; do \ + test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ + done + +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ + mkid -fID $$unique +tags: TAGS + +TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + tags=; \ + here=`pwd`; \ + if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ + include_option=--etags-include; \ + empty_fix=.; \ + else \ + include_option=--include; \ + empty_fix=; \ + fi; \ + list='$(SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + test ! -f $$subdir/TAGS || \ + tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \ + fi; \ + done; \ + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ + if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + $$tags $$unique; \ + fi +ctags: CTAGS +CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + tags=; \ + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ + test -z "$(CTAGS_ARGS)$$tags$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$tags $$unique + +GTAGS: + here=`$(am__cd) $(top_builddir) && pwd` \ + && cd $(top_srcdir) \ + && gtags -i $(GTAGS_ARGS) $$here + +distclean-tags: + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags + +distdir: $(DISTFILES) + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + list='$(DISTFILES)'; \ + dist_files=`for file in $$list; do echo $$file; done | \ + sed -e "s|^$$srcdirstrip/||;t" \ + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ + case $$dist_files in \ + */*) $(MKDIR_P) `echo "$$dist_files" | \ + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ + sort -u` ;; \ + esac; \ + for file in $$dist_files; do \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ + fi; \ + cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ + else \ + test -f $(distdir)/$$file \ + || cp -p $$d/$$file $(distdir)/$$file \ + || exit 1; \ + fi; \ + done + list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + test -d "$(distdir)/$$subdir" \ + || $(MKDIR_P) "$(distdir)/$$subdir" \ + || exit 1; \ + distdir=`$(am__cd) $(distdir) && pwd`; \ + top_distdir=`$(am__cd) $(top_distdir) && pwd`; \ + (cd $$subdir && \ + $(MAKE) $(AM_MAKEFLAGS) \ + top_distdir="$$top_distdir" \ + distdir="$$distdir/$$subdir" \ + am__remove_distdir=: \ + am__skip_length_check=: \ + distdir) \ + || exit 1; \ + fi; \ + done +check-am: all-am +check: check-recursive +all-am: Makefile +installdirs: installdirs-recursive +installdirs-am: +install: install-recursive +install-exec: install-exec-recursive +install-data: install-data-recursive +uninstall: uninstall-recursive + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-recursive +install-strip: + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + `test -z '$(STRIP)' || \ + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." +clean: clean-recursive + +clean-am: clean-generic clean-libtool mostlyclean-am + +distclean: distclean-recursive + -rm -f Makefile +distclean-am: clean-am distclean-generic distclean-tags + +dvi: dvi-recursive + +dvi-am: + +html: html-recursive + +info: info-recursive + +info-am: + +install-data-am: + +install-dvi: install-dvi-recursive + +install-exec-am: + +install-html: install-html-recursive + +install-info: install-info-recursive + +install-man: + +install-pdf: install-pdf-recursive + +install-ps: install-ps-recursive + +installcheck-am: + +maintainer-clean: maintainer-clean-recursive + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-recursive + +mostlyclean-am: mostlyclean-generic mostlyclean-libtool + +pdf: pdf-recursive + +pdf-am: + +ps: ps-recursive + +ps-am: + +uninstall-am: + +.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \ + install-strip + +.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ + all all-am check check-am clean clean-generic clean-libtool \ + ctags ctags-recursive distclean distclean-generic \ + distclean-libtool distclean-tags distdir dvi dvi-am html \ + html-am info info-am install install-am install-data \ + install-data-am install-dvi install-dvi-am install-exec \ + install-exec-am install-html install-html-am install-info \ + install-info-am install-man install-pdf install-pdf-am \ + install-ps install-ps-am install-strip installcheck \ + installcheck-am installdirs installdirs-am maintainer-clean \ + maintainer-clean-generic mostlyclean mostlyclean-generic \ + mostlyclean-libtool pdf pdf-am ps ps-am tags tags-recursive \ + uninstall uninstall-am + +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: diff --git a/src/others/mimesh/libg3d-0.0.8/doc/RELEASE-NOTES-0.0.7.txt b/src/others/mimesh/libg3d-0.0.8/doc/RELEASE-NOTES-0.0.7.txt new file mode 100644 index 0000000..3f53bd0 --- /dev/null +++ b/src/others/mimesh/libg3d-0.0.8/doc/RELEASE-NOTES-0.0.7.txt @@ -0,0 +1,15 @@ +libg3d 0.0.7 "now or never" +=========================== + +While there was a constant flow of changes and additions in the source code +repository it has been over a year since the last "official" release. + +The 0.0.7 release introduces a lot of changes, most notably an abstraction +of the input stream, a lot of new and updated plugins, a handful of bug +fixes and some general improvements. Check the ChangeLog for some more +detailed information or just try it out. + +The API should be fairly compatible and stable (and a little expanded), +the binary interface may have changed - I lost track - so please recompile +your applications. +If you are using G3DViewer it is highly recommended to update it as well. diff --git a/src/others/mimesh/libg3d-0.0.8/doc/RELEASE-NOTES-0.0.8.txt b/src/others/mimesh/libg3d-0.0.8/doc/RELEASE-NOTES-0.0.8.txt new file mode 100644 index 0000000..89114f6 --- /dev/null +++ b/src/others/mimesh/libg3d-0.0.8/doc/RELEASE-NOTES-0.0.8.txt @@ -0,0 +1,6 @@ +libg3d 0.0.8 "there is always one bug left" +=========================================== + +As it turns out the libg3d release did not build without libgsf support +enabled. This release mainly fixes the problem but also adds a small API +documentation update. diff --git a/src/others/mimesh/libg3d-0.0.8/doc/api/Makefile b/src/others/mimesh/libg3d-0.0.8/doc/api/Makefile new file mode 100644 index 0000000..0decd69 --- /dev/null +++ b/src/others/mimesh/libg3d-0.0.8/doc/api/Makefile @@ -0,0 +1,538 @@ +# Makefile.in generated by automake 1.10.1 from Makefile.am. +# doc/api/Makefile. Generated from Makefile.in by configure. + +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + + + +# -*- mode: makefile -*- + +#################################### +# Everything below here is generic # +#################################### + +pkgdatadir = $(datadir)/libg3d +pkglibdir = $(libdir)/libg3d +pkgincludedir = $(includedir)/libg3d +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +build_triplet = x86_64-unknown-linux-gnu +host_triplet = x86_64-unknown-linux-gnu +DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ + $(top_srcdir)/gtk-doc.make +subdir = doc/api +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/m4/acinclude.m4 \ + $(top_srcdir)/m4/glib-2.0.m4 $(top_srcdir)/m4/gtk-2.0.m4 \ + $(top_srcdir)/m4/gtk-doc.m4 $(top_srcdir)/m4/libtool.m4 \ + $(top_srcdir)/m4/libxml2.m4 $(top_srcdir)/m4/win32.m4 \ + $(top_srcdir)/configure.in +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +mkinstalldirs = $(install_sh) -d +CONFIG_HEADER = $(top_builddir)/include/g3d/config.h +CONFIG_CLEAN_FILES = +SOURCES = +DIST_SOURCES = +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +ACLOCAL = ${SHELL} /home/dvs1/VirtualWorlds/SOURCE/SledjHamr/src/others/mimesh/libg3d-0.0.8/config/missing --run aclocal-1.10 +AMTAR = ${SHELL} /home/dvs1/VirtualWorlds/SOURCE/SledjHamr/src/others/mimesh/libg3d-0.0.8/config/missing --run tar +AR = ar +AS = as +AUTOCONF = ${SHELL} /home/dvs1/VirtualWorlds/SOURCE/SledjHamr/src/others/mimesh/libg3d-0.0.8/config/missing --run autoconf +AUTOHEADER = ${SHELL} /home/dvs1/VirtualWorlds/SOURCE/SledjHamr/src/others/mimesh/libg3d-0.0.8/config/missing --run autoheader +AUTOMAKE = ${SHELL} /home/dvs1/VirtualWorlds/SOURCE/SledjHamr/src/others/mimesh/libg3d-0.0.8/config/missing --run automake-1.10 +AWK = gawk +CC = gcc +CCDEPMODE = depmode=gcc3 +CFLAGS = -g -O2 +CPP = gcc -E +CPPFLAGS = +CXX = g++ +CXXCPP = g++ -E +CXXDEPMODE = depmode=gcc3 +CXXFLAGS = -g -O2 +CYGPATH_W = echo +DBG_CFLAGS = -O2 +DEBUG = 0 +DEFS = -DHAVE_CONFIG_H +DEPDIR = .deps +DLLTOOL = dlltool +ECHO = echo +ECHO_C = +ECHO_N = -n +ECHO_T = +EGREP = /bin/grep -E +EXEEXT = +F77 = +FFLAGS = +GDKPIXBUF_CFLAGS = -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 +GDKPIXBUF_LIBS = -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lglib-2.0 +GLIB_CFLAGS = -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include +GLIB_GENMARSHAL = glib-genmarshal +GLIB_LIBS = -Wl,--export-dynamic -pthread -lgmodule-2.0 -lrt -lgobject-2.0 -lglib-2.0 +GLIB_MKENUMS = glib-mkenums +GOBJECT_QUERY = gobject-query +GREP = /bin/grep +GTKDOC_CHECK = /usr/bin/gtkdoc-check +GTK_CFLAGS = -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 +GTK_LIBS = -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lglib-2.0 +HTML_DIR = ${datadir}/gtk-doc/html +INSTALL = /usr/bin/install -c +INSTALL_DATA = ${INSTALL} -m 644 +INSTALL_PROGRAM = ${INSTALL} +INSTALL_SCRIPT = ${INSTALL} +INSTALL_STRIP_PROGRAM = $(install_sh) -c -s +LDFLAGS = +LEX = flex +LEXLIB = -lfl +LEX_OUTPUT_ROOT = lex.yy +LIBGSF_CFLAGS = -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/libgsf-1 +LIBGSF_LIBS = -lgsf-1 -lgobject-2.0 -lxml2 -lglib-2.0 +LIBOBJS = +LIBS = -lm +LIBTOOL = $(SHELL) $(top_builddir)/libtool +LIBXML2_CFLAGS = -I/usr/include/libxml2 +LIBXML2_LIBS = -L/usr/lib/x86_64-linux-gnu -lxml2 +LN_S = ln -s +LTLIBOBJS = +LTVERSION = 0:8:0 +MAGIC_LIBS = -lmagic +MAKEINFO = ${SHELL} /home/dvs1/VirtualWorlds/SOURCE/SledjHamr/src/others/mimesh/libg3d-0.0.8/config/missing --run makeinfo +MATH_LIBS = -lm +MKDIR_P = /bin/mkdir -p +OBJDUMP = objdump +OBJEXT = o +PACKAGE = libg3d +PACKAGE_BUGREPORT = +PACKAGE_NAME = +PACKAGE_STRING = +PACKAGE_TARNAME = +PACKAGE_VERSION = +PATH_SEPARATOR = : +PKG_CONFIG = /usr/bin/pkg-config +PLUGINS_LDFLAGS = -avoid-version -export-dynamic +RANLIB = ranlib +SET_MAKE = +SHELL = /bin/bash +STRIP = strip +VERSION = 0.0.8 +XML2_CONFIG = /usr/bin/xml2-config +XML_CPPFLAGS = -I/usr/include/libxml2 +XML_LIBS = -L/usr/lib/x86_64-linux-gnu -lxml2 +Z_CFLAGS = +Z_LIBS = -lz +abs_builddir = /home/dvs1/VirtualWorlds/SOURCE/SledjHamr/src/others/mimesh/libg3d-0.0.8/doc/api +abs_srcdir = /home/dvs1/VirtualWorlds/SOURCE/SledjHamr/src/others/mimesh/libg3d-0.0.8/doc/api +abs_top_builddir = /home/dvs1/VirtualWorlds/SOURCE/SledjHamr/src/others/mimesh/libg3d-0.0.8 +abs_top_srcdir = /home/dvs1/VirtualWorlds/SOURCE/SledjHamr/src/others/mimesh/libg3d-0.0.8 +ac_ct_CC = gcc +ac_ct_CXX = g++ +ac_ct_F77 = +am__include = include +am__leading_dot = . +am__quote = +am__tar = ${AMTAR} chof - "$$tardir" +am__untar = ${AMTAR} xf - +bindir = ${exec_prefix}/bin +build = x86_64-unknown-linux-gnu +build_alias = +build_cpu = x86_64 +build_os = linux-gnu +build_vendor = unknown +builddir = . +datadir = ${datarootdir} +datarootdir = ${prefix}/share +docdir = ${datarootdir}/doc/${PACKAGE} +dvidir = ${docdir} +exec_prefix = ${prefix} +host = x86_64-unknown-linux-gnu +host_alias = +host_cpu = x86_64 +host_os = linux-gnu +host_vendor = unknown +htmldir = ${docdir} +includedir = ${prefix}/include +infodir = ${datarootdir}/info +install_sh = $(SHELL) /home/dvs1/VirtualWorlds/SOURCE/SledjHamr/src/others/mimesh/libg3d-0.0.8/config/install-sh +libdir = ${exec_prefix}/lib +libexecdir = ${exec_prefix}/libexec +localedir = ${datarootdir}/locale +localstatedir = ${prefix}/var +mandir = ${datarootdir}/man +mkdir_p = /bin/mkdir -p +oldincludedir = /usr/include +pdfdir = ${docdir} +prefix = /usr/local +program_transform_name = s,x,x, +psdir = ${docdir} +sbindir = ${exec_prefix}/sbin +sharedstatedir = ${prefix}/com +srcdir = . +sysconfdir = ${prefix}/etc +target_alias = +top_builddir = ../.. +top_srcdir = ../.. +AUTOMAKE_OPTIONS = 1.6 +DOC_MODULE = libg3d +DOC_MAIN_SGML_FILE = $(DOC_MODULE)-docs.sgml +DOC_SOURCE_DIR = ../../include/g3d +SCANGOBJ_OPTIONS = +SCAN_OPTIONS = +MKDB_OPTIONS = --ignore-files="${MKDB_IGNORE}" --sgml-mode --output-format=xml +MKTMPL_OPTIONS = +FIXXREF_OPTIONS = +CFILE_GLOB = +HFILE_GLOB = $(top_srcdir)/include/g3d/*.h +IGNORE_HFILES = config.h config.h +HTML_IMAGES = +content_files = +expand_content_files = +AM_CFLAGS = -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include +INCLUDES = -I$(top_srcdir)/include +GTKDOC_LIBS = -Wl,--export-dynamic -pthread -lgmodule-2.0 -lrt -lgobject-2.0 -lglib-2.0 +#GTKDOC_CC = $(CC) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +GTKDOC_CC = $(LIBTOOL) --mode=compile $(CC) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +#GTKDOC_LD = $(CC) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) +GTKDOC_LD = $(LIBTOOL) --mode=link $(CC) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) + +# We set GPATH here; this gives us semantics for GNU make +# which are more like other make's VPATH, when it comes to +# whether a source that is a target of one rule is then +# searched for in VPATH/GPATH. +# +GPATH = $(srcdir) +TARGET_DIR = $(HTML_DIR)/$(DOC_MODULE) +EXTRA_DIST = $(content_files) $(HTML_IMAGES) $(DOC_MAIN_SGML_FILE) \ + $(DOC_MODULE)-sections.txt $(DOC_MODULE)-overrides.txt +DOC_STAMPS = scan-build.stamp tmpl-build.stamp sgml-build.stamp html-build.stamp \ + $(srcdir)/tmpl.stamp $(srcdir)/sgml.stamp $(srcdir)/html.stamp + +SCANOBJ_FILES = \ + $(DOC_MODULE).args \ + $(DOC_MODULE).hierarchy \ + $(DOC_MODULE).interfaces \ + $(DOC_MODULE).prerequisites \ + $(DOC_MODULE).signals + +REPORT_FILES = \ + $(DOC_MODULE)-undocumented.txt \ + $(DOC_MODULE)-undeclared.txt \ + $(DOC_MODULE)-unused.txt + +CLEANFILES = $(SCANOBJ_FILES) $(REPORT_FILES) $(DOC_STAMPS) +all: all-am + +.SUFFIXES: +$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(top_srcdir)/gtk-doc.make $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ + && exit 0; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu doc/api/Makefile'; \ + cd $(top_srcdir) && \ + $(AUTOMAKE) --gnu doc/api/Makefile +.PRECIOUS: Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ + esac; + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +$(top_srcdir)/configure: $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +mostlyclean-libtool: + -rm -f *.lo + +clean-libtool: + -rm -rf .libs _libs +tags: TAGS +TAGS: + +ctags: CTAGS +CTAGS: + + +distdir: $(DISTFILES) + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + list='$(DISTFILES)'; \ + dist_files=`for file in $$list; do echo $$file; done | \ + sed -e "s|^$$srcdirstrip/||;t" \ + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ + case $$dist_files in \ + */*) $(MKDIR_P) `echo "$$dist_files" | \ + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ + sort -u` ;; \ + esac; \ + for file in $$dist_files; do \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ + fi; \ + cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ + else \ + test -f $(distdir)/$$file \ + || cp -p $$d/$$file $(distdir)/$$file \ + || exit 1; \ + fi; \ + done + $(MAKE) $(AM_MAKEFLAGS) \ + top_distdir="$(top_distdir)" distdir="$(distdir)" \ + dist-hook +check-am: all-am +check: check-am +all-am: Makefile all-local +installdirs: +install: install-am +install-exec: install-exec-am +install-data: install-data-am +uninstall: uninstall-am + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-am +install-strip: + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + `test -z '$(STRIP)' || \ + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install +mostlyclean-generic: + +clean-generic: + -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) + +distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." +clean: clean-am + +clean-am: clean-generic clean-libtool clean-local mostlyclean-am + +distclean: distclean-am + -rm -f Makefile +distclean-am: clean-am distclean-generic distclean-local + +dvi: dvi-am + +dvi-am: + +html: html-am + +info: info-am + +info-am: + +install-data-am: install-data-local + +install-dvi: install-dvi-am + +install-exec-am: + +install-html: install-html-am + +install-info: install-info-am + +install-man: + +install-pdf: install-pdf-am + +install-ps: install-ps-am + +installcheck-am: + +maintainer-clean: maintainer-clean-am + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic \ + maintainer-clean-local + +mostlyclean: mostlyclean-am + +mostlyclean-am: mostlyclean-generic mostlyclean-libtool + +pdf: pdf-am + +pdf-am: + +ps: ps-am + +ps-am: + +uninstall-am: uninstall-local + +.MAKE: install-am install-strip + +.PHONY: all all-am all-local check check-am clean clean-generic \ + clean-libtool clean-local dist-hook distclean \ + distclean-generic distclean-libtool distclean-local distdir \ + dvi dvi-am html html-am info info-am install install-am \ + install-data install-data-am install-data-local install-dvi \ + install-dvi-am install-exec install-exec-am install-html \ + install-html-am install-info install-info-am install-man \ + install-pdf install-pdf-am install-ps install-ps-am \ + install-strip installcheck installcheck-am installdirs \ + maintainer-clean maintainer-clean-generic \ + maintainer-clean-local mostlyclean mostlyclean-generic \ + mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \ + uninstall-local + + +#all-local: html-build.stamp +all-local: + +docs: html-build.stamp + +#### scan #### + +scan-build.stamp: $(HFILE_GLOB) $(CFILE_GLOB) + @echo 'gtk-doc: Scanning header files' + @-chmod -R u+w $(srcdir) + cd $(srcdir) && \ + gtkdoc-scan --module=$(DOC_MODULE) --source-dir=$(DOC_SOURCE_DIR) --ignore-headers="$(IGNORE_HFILES)" $(SCAN_OPTIONS) $(EXTRA_HFILES) + if grep -l '^..*$$' $(srcdir)/$(DOC_MODULE).types > /dev/null 2>&1 ; then \ + CC="$(GTKDOC_CC)" LD="$(GTKDOC_LD)" CFLAGS="$(GTKDOC_CFLAGS)" LDFLAGS="$(GTKDOC_LIBS)" gtkdoc-scangobj $(SCANGOBJ_OPTIONS) --module=$(DOC_MODULE) --output-dir=$(srcdir) ; \ + else \ + cd $(srcdir) ; \ + for i in $(SCANOBJ_FILES) ; do \ + test -f $$i || touch $$i ; \ + done \ + fi + touch scan-build.stamp + +$(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(DOC_MODULE)-sections.txt $(DOC_MODULE)-overrides.txt: scan-build.stamp + @true + +#### templates #### + +tmpl-build.stamp: $(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(DOC_MODULE)-sections.txt $(DOC_MODULE)-overrides.txt + @echo 'gtk-doc: Rebuilding template files' + @-chmod -R u+w $(srcdir) + cd $(srcdir) && gtkdoc-mktmpl --module=$(DOC_MODULE) $(MKTMPL_OPTIONS) + touch tmpl-build.stamp + +tmpl.stamp: tmpl-build.stamp + @true + +tmpl/*.sgml: + @true + +#### xml #### + +sgml-build.stamp: tmpl.stamp $(HFILE_GLOB) $(CFILE_GLOB) $(DOC_MODULE)-sections.txt $(srcdir)/tmpl/*.sgml $(expand_content_files) + @echo 'gtk-doc: Building XML' + @-chmod -R u+w $(srcdir) + cd $(srcdir) && \ + gtkdoc-mkdb --module=$(DOC_MODULE) --source-dir=$(DOC_SOURCE_DIR) --output-format=xml --expand-content-files="$(expand_content_files)" --main-sgml-file=$(DOC_MAIN_SGML_FILE) $(MKDB_OPTIONS) + touch sgml-build.stamp + +sgml.stamp: sgml-build.stamp + @true + +#### html #### + +html-build.stamp: sgml.stamp $(DOC_MAIN_SGML_FILE) $(content_files) + @echo 'gtk-doc: Building HTML' + @-chmod -R u+w $(srcdir) + rm -rf $(srcdir)/html + mkdir $(srcdir)/html + cd $(srcdir)/html && gtkdoc-mkhtml $(DOC_MODULE) ../$(DOC_MAIN_SGML_FILE) + test "x$(HTML_IMAGES)" = "x" || ( cd $(srcdir) && cp $(HTML_IMAGES) html ) + @echo 'gtk-doc: Fixing cross-references' + cd $(srcdir) && gtkdoc-fixxref --module-dir=html --html-dir=$(HTML_DIR) $(FIXXREF_OPTIONS) + touch html-build.stamp + +############## + +clean-local: + rm -f *~ *.bak + rm -rf .libs + +distclean-local: + cd $(srcdir) && \ + rm -rf xml $(REPORT_FILES) \ + $(DOC_MODULE)-decl-list.txt $(DOC_MODULE)-decl.txt + +maintainer-clean-local: clean + cd $(srcdir) && rm -rf xml html + +install-data-local: + -installfiles=`echo $(srcdir)/html/*`; \ + if test "$$installfiles" = '$(srcdir)/html/*'; \ + then echo '-- Nothing to install' ; \ + else \ + $(mkinstalldirs) $(DESTDIR)$(TARGET_DIR); \ + for i in $$installfiles; do \ + echo '-- Installing '$$i ; \ + $(INSTALL_DATA) $$i $(DESTDIR)$(TARGET_DIR); \ + done; \ + echo '-- Installing $(srcdir)/html/index.sgml' ; \ + $(INSTALL_DATA) $(srcdir)/html/index.sgml $(DESTDIR)$(TARGET_DIR) || :; \ + which gtkdoc-rebase >/dev/null && \ + gtkdoc-rebase --relative --dest-dir=$(DESTDIR) --html-dir=$(DESTDIR)$(TARGET_DIR) ; \ + fi + +uninstall-local: + rm -f $(DESTDIR)$(TARGET_DIR)/* + +# +# Require gtk-doc when making dist +# +#dist-check-gtkdoc: +dist-check-gtkdoc: + @echo "*** gtk-doc must be installed and enabled in order to make dist" + @false + +dist-hook: dist-check-gtkdoc dist-hook-local + mkdir $(distdir)/tmpl + mkdir $(distdir)/xml + mkdir $(distdir)/html + -cp $(srcdir)/tmpl/*.sgml $(distdir)/tmpl + -cp $(srcdir)/xml/*.xml $(distdir)/xml + cp $(srcdir)/html/* $(distdir)/html + -cp $(srcdir)/$(DOC_MODULE).types $(distdir)/ + -cp $(srcdir)/$(DOC_MODULE)-sections.txt $(distdir)/ + cd $(distdir) && rm -f $(DISTCLEANFILES) + -gtkdoc-rebase --online --relative --html-dir=$(distdir)/html + +.PHONY : dist-hook-local docs +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: diff --git a/src/others/mimesh/libg3d-0.0.8/doc/api/Makefile.am b/src/others/mimesh/libg3d-0.0.8/doc/api/Makefile.am new file mode 100644 index 0000000..3b5cd6c --- /dev/null +++ b/src/others/mimesh/libg3d-0.0.8/doc/api/Makefile.am @@ -0,0 +1,37 @@ +AUTOMAKE_OPTIONS = 1.6 + +DOC_MODULE = libg3d + +DOC_MAIN_SGML_FILE = $(DOC_MODULE)-docs.sgml + +DOC_SOURCE_DIR = ../../include/g3d + +SCANGOBJ_OPTIONS = + +SCAN_OPTIONS = + +MKDB_OPTIONS = --ignore-files="${MKDB_IGNORE}" --sgml-mode --output-format=xml + +MKTMPL_OPTIONS = + +FIXXREF_OPTIONS = + +CFILE_GLOB = +HFILE_GLOB = $(top_srcdir)/include/g3d/*.h + +IGNORE_HFILES = config.h config.h + +HTML_IMAGES = + +content_files = + +expand_content_files = + +AM_CFLAGS = @GLIB_CFLAGS@ +INCLUDES = -I$(top_srcdir)/include +GTKDOC_LIBS = @GLIB_LIBS@ + +include $(top_srcdir)/gtk-doc.make + +EXTRA_DIST += + diff --git a/src/others/mimesh/libg3d-0.0.8/doc/api/Makefile.in b/src/others/mimesh/libg3d-0.0.8/doc/api/Makefile.in new file mode 100644 index 0000000..6d2e841 --- /dev/null +++ b/src/others/mimesh/libg3d-0.0.8/doc/api/Makefile.in @@ -0,0 +1,538 @@ +# Makefile.in generated by automake 1.10.1 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +@SET_MAKE@ + +# -*- mode: makefile -*- + +#################################### +# Everything below here is generic # +#################################### +VPATH = @srcdir@ +pkgdatadir = $(datadir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +build_triplet = @build@ +host_triplet = @host@ +DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ + $(top_srcdir)/gtk-doc.make +subdir = doc/api +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/m4/acinclude.m4 \ + $(top_srcdir)/m4/glib-2.0.m4 $(top_srcdir)/m4/gtk-2.0.m4 \ + $(top_srcdir)/m4/gtk-doc.m4 $(top_srcdir)/m4/libtool.m4 \ + $(top_srcdir)/m4/libxml2.m4 $(top_srcdir)/m4/win32.m4 \ + $(top_srcdir)/configure.in +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +mkinstalldirs = $(install_sh) -d +CONFIG_HEADER = $(top_builddir)/include/g3d/config.h +CONFIG_CLEAN_FILES = +SOURCES = +DIST_SOURCES = +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +ACLOCAL = @ACLOCAL@ +AMTAR = @AMTAR@ +AR = @AR@ +AS = @AS@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CFLAGS = @CFLAGS@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CXX = @CXX@ +CXXCPP = @CXXCPP@ +CXXDEPMODE = @CXXDEPMODE@ +CXXFLAGS = @CXXFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DBG_CFLAGS = @DBG_CFLAGS@ +DEBUG = @DEBUG@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ +ECHO = @ECHO@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ +EXEEXT = @EXEEXT@ +F77 = @F77@ +FFLAGS = @FFLAGS@ +GDKPIXBUF_CFLAGS = @GDKPIXBUF_CFLAGS@ +GDKPIXBUF_LIBS = @GDKPIXBUF_LIBS@ +GLIB_CFLAGS = @GLIB_CFLAGS@ +GLIB_GENMARSHAL = @GLIB_GENMARSHAL@ +GLIB_LIBS = @GLIB_LIBS@ +GLIB_MKENUMS = @GLIB_MKENUMS@ +GOBJECT_QUERY = @GOBJECT_QUERY@ +GREP = @GREP@ +GTKDOC_CHECK = @GTKDOC_CHECK@ +GTK_CFLAGS = @GTK_CFLAGS@ +GTK_LIBS = @GTK_LIBS@ +HTML_DIR = @HTML_DIR@ +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +LDFLAGS = @LDFLAGS@ +LEX = @LEX@ +LEXLIB = @LEXLIB@ +LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@ +LIBGSF_CFLAGS = @LIBGSF_CFLAGS@ +LIBGSF_LIBS = @LIBGSF_LIBS@ +LIBOBJS = @LIBOBJS@ +LIBS = @LIBS@ +LIBTOOL = @LIBTOOL@ +LIBXML2_CFLAGS = @LIBXML2_CFLAGS@ +LIBXML2_LIBS = @LIBXML2_LIBS@ +LN_S = @LN_S@ +LTLIBOBJS = @LTLIBOBJS@ +LTVERSION = @LTVERSION@ +MAGIC_LIBS = @MAGIC_LIBS@ +MAKEINFO = @MAKEINFO@ +MATH_LIBS = @MATH_LIBS@ +MKDIR_P = @MKDIR_P@ +OBJDUMP = @OBJDUMP@ +OBJEXT = @OBJEXT@ +PACKAGE = @PACKAGE@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_STRING = @PACKAGE_STRING@ +PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_VERSION = @PACKAGE_VERSION@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +PKG_CONFIG = @PKG_CONFIG@ +PLUGINS_LDFLAGS = @PLUGINS_LDFLAGS@ +RANLIB = @RANLIB@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +STRIP = @STRIP@ +VERSION = @VERSION@ +XML2_CONFIG = @XML2_CONFIG@ +XML_CPPFLAGS = @XML_CPPFLAGS@ +XML_LIBS = @XML_LIBS@ +Z_CFLAGS = @Z_CFLAGS@ +Z_LIBS = @Z_LIBS@ +abs_builddir = @abs_builddir@ +abs_srcdir = @abs_srcdir@ +abs_top_builddir = @abs_top_builddir@ +abs_top_srcdir = @abs_top_srcdir@ +ac_ct_CC = @ac_ct_CC@ +ac_ct_CXX = @ac_ct_CXX@ +ac_ct_F77 = @ac_ct_F77@ +am__include = @am__include@ +am__leading_dot = @am__leading_dot@ +am__quote = @am__quote@ +am__tar = @am__tar@ +am__untar = @am__untar@ +bindir = @bindir@ +build = @build@ +build_alias = @build_alias@ +build_cpu = @build_cpu@ +build_os = @build_os@ +build_vendor = @build_vendor@ +builddir = @builddir@ +datadir = @datadir@ +datarootdir = @datarootdir@ +docdir = @docdir@ +dvidir = @dvidir@ +exec_prefix = @exec_prefix@ +host = @host@ +host_alias = @host_alias@ +host_cpu = @host_cpu@ +host_os = @host_os@ +host_vendor = @host_vendor@ +htmldir = @htmldir@ +includedir = @includedir@ +infodir = @infodir@ +install_sh = @install_sh@ +libdir = @libdir@ +libexecdir = @libexecdir@ +localedir = @localedir@ +localstatedir = @localstatedir@ +mandir = @mandir@ +mkdir_p = @mkdir_p@ +oldincludedir = @oldincludedir@ +pdfdir = @pdfdir@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +psdir = @psdir@ +sbindir = @sbindir@ +sharedstatedir = @sharedstatedir@ +srcdir = @srcdir@ +sysconfdir = @sysconfdir@ +target_alias = @target_alias@ +top_builddir = @top_builddir@ +top_srcdir = @top_srcdir@ +AUTOMAKE_OPTIONS = 1.6 +DOC_MODULE = libg3d +DOC_MAIN_SGML_FILE = $(DOC_MODULE)-docs.sgml +DOC_SOURCE_DIR = ../../include/g3d +SCANGOBJ_OPTIONS = +SCAN_OPTIONS = +MKDB_OPTIONS = --ignore-files="${MKDB_IGNORE}" --sgml-mode --output-format=xml +MKTMPL_OPTIONS = +FIXXREF_OPTIONS = +CFILE_GLOB = +HFILE_GLOB = $(top_srcdir)/include/g3d/*.h +IGNORE_HFILES = config.h config.h +HTML_IMAGES = +content_files = +expand_content_files = +AM_CFLAGS = @GLIB_CFLAGS@ +INCLUDES = -I$(top_srcdir)/include +GTKDOC_LIBS = @GLIB_LIBS@ +@GTK_DOC_USE_LIBTOOL_FALSE@GTKDOC_CC = $(CC) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +@GTK_DOC_USE_LIBTOOL_TRUE@GTKDOC_CC = $(LIBTOOL) --mode=compile $(CC) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +@GTK_DOC_USE_LIBTOOL_FALSE@GTKDOC_LD = $(CC) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) +@GTK_DOC_USE_LIBTOOL_TRUE@GTKDOC_LD = $(LIBTOOL) --mode=link $(CC) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) + +# We set GPATH here; this gives us semantics for GNU make +# which are more like other make's VPATH, when it comes to +# whether a source that is a target of one rule is then +# searched for in VPATH/GPATH. +# +GPATH = $(srcdir) +TARGET_DIR = $(HTML_DIR)/$(DOC_MODULE) +EXTRA_DIST = $(content_files) $(HTML_IMAGES) $(DOC_MAIN_SGML_FILE) \ + $(DOC_MODULE)-sections.txt $(DOC_MODULE)-overrides.txt +DOC_STAMPS = scan-build.stamp tmpl-build.stamp sgml-build.stamp html-build.stamp \ + $(srcdir)/tmpl.stamp $(srcdir)/sgml.stamp $(srcdir)/html.stamp + +SCANOBJ_FILES = \ + $(DOC_MODULE).args \ + $(DOC_MODULE).hierarchy \ + $(DOC_MODULE).interfaces \ + $(DOC_MODULE).prerequisites \ + $(DOC_MODULE).signals + +REPORT_FILES = \ + $(DOC_MODULE)-undocumented.txt \ + $(DOC_MODULE)-undeclared.txt \ + $(DOC_MODULE)-unused.txt + +CLEANFILES = $(SCANOBJ_FILES) $(REPORT_FILES) $(DOC_STAMPS) +all: all-am + +.SUFFIXES: +$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(top_srcdir)/gtk-doc.make $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ + && exit 0; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu doc/api/Makefile'; \ + cd $(top_srcdir) && \ + $(AUTOMAKE) --gnu doc/api/Makefile +.PRECIOUS: Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ + esac; + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +$(top_srcdir)/configure: $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +mostlyclean-libtool: + -rm -f *.lo + +clean-libtool: + -rm -rf .libs _libs +tags: TAGS +TAGS: + +ctags: CTAGS +CTAGS: + + +distdir: $(DISTFILES) + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + list='$(DISTFILES)'; \ + dist_files=`for file in $$list; do echo $$file; done | \ + sed -e "s|^$$srcdirstrip/||;t" \ + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ + case $$dist_files in \ + */*) $(MKDIR_P) `echo "$$dist_files" | \ + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ + sort -u` ;; \ + esac; \ + for file in $$dist_files; do \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ + fi; \ + cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ + else \ + test -f $(distdir)/$$file \ + || cp -p $$d/$$file $(distdir)/$$file \ + || exit 1; \ + fi; \ + done + $(MAKE) $(AM_MAKEFLAGS) \ + top_distdir="$(top_distdir)" distdir="$(distdir)" \ + dist-hook +check-am: all-am +check: check-am +all-am: Makefile all-local +installdirs: +install: install-am +install-exec: install-exec-am +install-data: install-data-am +uninstall: uninstall-am + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-am +install-strip: + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + `test -z '$(STRIP)' || \ + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install +mostlyclean-generic: + +clean-generic: + -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) + +distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." +clean: clean-am + +clean-am: clean-generic clean-libtool clean-local mostlyclean-am + +distclean: distclean-am + -rm -f Makefile +distclean-am: clean-am distclean-generic distclean-local + +dvi: dvi-am + +dvi-am: + +html: html-am + +info: info-am + +info-am: + +install-data-am: install-data-local + +install-dvi: install-dvi-am + +install-exec-am: + +install-html: install-html-am + +install-info: install-info-am + +install-man: + +install-pdf: install-pdf-am + +install-ps: install-ps-am + +installcheck-am: + +maintainer-clean: maintainer-clean-am + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic \ + maintainer-clean-local + +mostlyclean: mostlyclean-am + +mostlyclean-am: mostlyclean-generic mostlyclean-libtool + +pdf: pdf-am + +pdf-am: + +ps: ps-am + +ps-am: + +uninstall-am: uninstall-local + +.MAKE: install-am install-strip + +.PHONY: all all-am all-local check check-am clean clean-generic \ + clean-libtool clean-local dist-hook distclean \ + distclean-generic distclean-libtool distclean-local distdir \ + dvi dvi-am html html-am info info-am install install-am \ + install-data install-data-am install-data-local install-dvi \ + install-dvi-am install-exec install-exec-am install-html \ + install-html-am install-info install-info-am install-man \ + install-pdf install-pdf-am install-ps install-ps-am \ + install-strip installcheck installcheck-am installdirs \ + maintainer-clean maintainer-clean-generic \ + maintainer-clean-local mostlyclean mostlyclean-generic \ + mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \ + uninstall-local + + +@ENABLE_GTK_DOC_TRUE@all-local: html-build.stamp +@ENABLE_GTK_DOC_FALSE@all-local: + +docs: html-build.stamp + +#### scan #### + +scan-build.stamp: $(HFILE_GLOB) $(CFILE_GLOB) + @echo 'gtk-doc: Scanning header files' + @-chmod -R u+w $(srcdir) + cd $(srcdir) && \ + gtkdoc-scan --module=$(DOC_MODULE) --source-dir=$(DOC_SOURCE_DIR) --ignore-headers="$(IGNORE_HFILES)" $(SCAN_OPTIONS) $(EXTRA_HFILES) + if grep -l '^..*$$' $(srcdir)/$(DOC_MODULE).types > /dev/null 2>&1 ; then \ + CC="$(GTKDOC_CC)" LD="$(GTKDOC_LD)" CFLAGS="$(GTKDOC_CFLAGS)" LDFLAGS="$(GTKDOC_LIBS)" gtkdoc-scangobj $(SCANGOBJ_OPTIONS) --module=$(DOC_MODULE) --output-dir=$(srcdir) ; \ + else \ + cd $(srcdir) ; \ + for i in $(SCANOBJ_FILES) ; do \ + test -f $$i || touch $$i ; \ + done \ + fi + touch scan-build.stamp + +$(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(DOC_MODULE)-sections.txt $(DOC_MODULE)-overrides.txt: scan-build.stamp + @true + +#### templates #### + +tmpl-build.stamp: $(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(DOC_MODULE)-sections.txt $(DOC_MODULE)-overrides.txt + @echo 'gtk-doc: Rebuilding template files' + @-chmod -R u+w $(srcdir) + cd $(srcdir) && gtkdoc-mktmpl --module=$(DOC_MODULE) $(MKTMPL_OPTIONS) + touch tmpl-build.stamp + +tmpl.stamp: tmpl-build.stamp + @true + +tmpl/*.sgml: + @true + +#### xml #### + +sgml-build.stamp: tmpl.stamp $(HFILE_GLOB) $(CFILE_GLOB) $(DOC_MODULE)-sections.txt $(srcdir)/tmpl/*.sgml $(expand_content_files) + @echo 'gtk-doc: Building XML' + @-chmod -R u+w $(srcdir) + cd $(srcdir) && \ + gtkdoc-mkdb --module=$(DOC_MODULE) --source-dir=$(DOC_SOURCE_DIR) --output-format=xml --expand-content-files="$(expand_content_files)" --main-sgml-file=$(DOC_MAIN_SGML_FILE) $(MKDB_OPTIONS) + touch sgml-build.stamp + +sgml.stamp: sgml-build.stamp + @true + +#### html #### + +html-build.stamp: sgml.stamp $(DOC_MAIN_SGML_FILE) $(content_files) + @echo 'gtk-doc: Building HTML' + @-chmod -R u+w $(srcdir) + rm -rf $(srcdir)/html + mkdir $(srcdir)/html + cd $(srcdir)/html && gtkdoc-mkhtml $(DOC_MODULE) ../$(DOC_MAIN_SGML_FILE) + test "x$(HTML_IMAGES)" = "x" || ( cd $(srcdir) && cp $(HTML_IMAGES) html ) + @echo 'gtk-doc: Fixing cross-references' + cd $(srcdir) && gtkdoc-fixxref --module-dir=html --html-dir=$(HTML_DIR) $(FIXXREF_OPTIONS) + touch html-build.stamp + +############## + +clean-local: + rm -f *~ *.bak + rm -rf .libs + +distclean-local: + cd $(srcdir) && \ + rm -rf xml $(REPORT_FILES) \ + $(DOC_MODULE)-decl-list.txt $(DOC_MODULE)-decl.txt + +maintainer-clean-local: clean + cd $(srcdir) && rm -rf xml html + +install-data-local: + -installfiles=`echo $(srcdir)/html/*`; \ + if test "$$installfiles" = '$(srcdir)/html/*'; \ + then echo '-- Nothing to install' ; \ + else \ + $(mkinstalldirs) $(DESTDIR)$(TARGET_DIR); \ + for i in $$installfiles; do \ + echo '-- Installing '$$i ; \ + $(INSTALL_DATA) $$i $(DESTDIR)$(TARGET_DIR); \ + done; \ + echo '-- Installing $(srcdir)/html/index.sgml' ; \ + $(INSTALL_DATA) $(srcdir)/html/index.sgml $(DESTDIR)$(TARGET_DIR) || :; \ + which gtkdoc-rebase >/dev/null && \ + gtkdoc-rebase --relative --dest-dir=$(DESTDIR) --html-dir=$(DESTDIR)$(TARGET_DIR) ; \ + fi + +uninstall-local: + rm -f $(DESTDIR)$(TARGET_DIR)/* + +# +# Require gtk-doc when making dist +# +@ENABLE_GTK_DOC_TRUE@dist-check-gtkdoc: +@ENABLE_GTK_DOC_FALSE@dist-check-gtkdoc: +@ENABLE_GTK_DOC_FALSE@ @echo "*** gtk-doc must be installed and enabled in order to make dist" +@ENABLE_GTK_DOC_FALSE@ @false + +dist-hook: dist-check-gtkdoc dist-hook-local + mkdir $(distdir)/tmpl + mkdir $(distdir)/xml + mkdir $(distdir)/html + -cp $(srcdir)/tmpl/*.sgml $(distdir)/tmpl + -cp $(srcdir)/xml/*.xml $(distdir)/xml + cp $(srcdir)/html/* $(distdir)/html + -cp $(srcdir)/$(DOC_MODULE).types $(distdir)/ + -cp $(srcdir)/$(DOC_MODULE)-sections.txt $(distdir)/ + cd $(distdir) && rm -f $(DISTCLEANFILES) + -gtkdoc-rebase --online --relative --html-dir=$(distdir)/html + +.PHONY : dist-hook-local docs +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: diff --git a/src/others/mimesh/libg3d-0.0.8/doc/api/html/ch01.html b/src/others/mimesh/libg3d-0.0.8/doc/api/html/ch01.html new file mode 100644 index 0000000..4df5d39 --- /dev/null +++ b/src/others/mimesh/libg3d-0.0.8/doc/api/html/ch01.html @@ -0,0 +1,55 @@ + + + + +Application interface + + + + + + + + + + + + + + + + + + +
+

+Application interface

+
+
+types — Basic types +
+
+context — Libg3d initialization and configuration +
+
+model — Model manipulation functions +
+
+object — Object manipulation +
+
+face — Face manipulation +
+
+material — Material generation and manipulation +
+
+texture — Texture loading and manipulation +
+
+
+ + + diff --git a/src/others/mimesh/libg3d-0.0.8/doc/api/html/ch02.html b/src/others/mimesh/libg3d-0.0.8/doc/api/html/ch02.html new file mode 100644 index 0000000..2a8bc7d --- /dev/null +++ b/src/others/mimesh/libg3d-0.0.8/doc/api/html/ch02.html @@ -0,0 +1,58 @@ + + + + +Plugin interface + + + + + + + + + + + + + + + + + + +
+

+Plugin interface

+
+
+plugins — G3DPlugin interface +
+
+stream — I/O abstraction layer for plugins +
+
+iff — IFF file helper functions +
+
+read — file reading abstraction (deprecated) +
+
+primitive — 3D primitive generation functions +
+
+matrix — Matrix manipulation and calculation +
+
+vector — Vector manipulation and calculation +
+
+quat — quaternion helpers +
+
+
+ + + diff --git a/src/others/mimesh/libg3d-0.0.8/doc/api/html/home.png b/src/others/mimesh/libg3d-0.0.8/doc/api/html/home.png new file mode 100644 index 0000000..1700361 Binary files /dev/null and b/src/others/mimesh/libg3d-0.0.8/doc/api/html/home.png differ diff --git a/src/others/mimesh/libg3d-0.0.8/doc/api/html/index.html b/src/others/mimesh/libg3d-0.0.8/doc/api/html/index.html new file mode 100644 index 0000000..b368808 --- /dev/null +++ b/src/others/mimesh/libg3d-0.0.8/doc/api/html/index.html @@ -0,0 +1,85 @@ + + + + +libg3d Reference Manual + + + + + + + + + +
+
+
+
+

+ for libg3d 0.0.7 + The latest version of this documentation can be found on-line at + http://automagically.de/libg3d/. +

+
+
+
+
+
Application interface
+
+
+types — Basic types +
+
+context — Libg3d initialization and configuration +
+
+model — Model manipulation functions +
+
+object — Object manipulation +
+
+face — Face manipulation +
+
+material — Material generation and manipulation +
+
+texture — Texture loading and manipulation +
+
+
Plugin interface
+
+
+plugins — G3DPlugin interface +
+
+stream — I/O abstraction layer for plugins +
+
+iff — IFF file helper functions +
+
+read — file reading abstraction (deprecated) +
+
+primitive — 3D primitive generation functions +
+
+matrix — Matrix manipulation and calculation +
+
+vector — Vector manipulation and calculation +
+
+quat — quaternion helpers +
+
+
+
+ + + diff --git a/src/others/mimesh/libg3d-0.0.8/doc/api/html/index.sgml b/src/others/mimesh/libg3d-0.0.8/doc/api/html/index.sgml new file mode 100644 index 0000000..a233041 --- /dev/null +++ b/src/others/mimesh/libg3d-0.0.8/doc/api/html/index.sgml @@ -0,0 +1,242 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/others/mimesh/libg3d-0.0.8/doc/api/html/left.png b/src/others/mimesh/libg3d-0.0.8/doc/api/html/left.png new file mode 100644 index 0000000..2d05b3d Binary files /dev/null and b/src/others/mimesh/libg3d-0.0.8/doc/api/html/left.png differ diff --git a/src/others/mimesh/libg3d-0.0.8/doc/api/html/libg3d-context.html b/src/others/mimesh/libg3d-0.0.8/doc/api/html/libg3d-context.html new file mode 100644 index 0000000..2a5c229 --- /dev/null +++ b/src/others/mimesh/libg3d-0.0.8/doc/api/html/libg3d-context.html @@ -0,0 +1,531 @@ + + + + +context + + + + + + + + + + + + + + + + + + + + + +
+
+
+ + +
+

context

+

context — Libg3d initialization and configuration

+
+ +
+

Description

+

+All state information is saved in the context. It also serves as an +interface to the application.

+

+ +

+
+
+

Details

+
+

G3DContext

+
typedef struct {
+} G3DContext;
+
+

+Internal stuff for libg3d.

+

+ +

+
+
+
+

g3d_context_new ()

+
G3DContext*         g3d_context_new                     (void);
+

+Create a new context. This initializes the library (and also the +plugin system so this has not to be done seperately).

+

+ +

+
++ + + + +

Returns :

a valid context, or NULL on failure. +
+
+
+
+

g3d_context_free ()

+
void                g3d_context_free                    (G3DContext *context);
+

+Cleans up the context and the plugin system and frees all reserved +memory.

+

+ +

+
++ + + + +

context :

the context to free +
+
+
+
+

G3DSetBgColorFunc ()

+
gboolean            (*G3DSetBgColorFunc)                (G3DFloat r,
+                                                         G3DFloat g,
+                                                         G3DFloat b,
+                                                         G3DFloat a,
+                                                         gpointer user_data);
+

+Background color setting callback.

+

+ +

+
++ + + + + + + + + + + + + + + + + + + + + + + + + + +

r :

red component +

g :

green component +

b :

blue component +

a :

alpha component +

user_data :

opaque data as given to g3d_context_set_set_bgcolor_func() +

Returns :

TRUE on success, FALSE else. +
+
+
+
+

G3DUpdateInterfaceFunc ()

+
gboolean            (*G3DUpdateInterfaceFunc)           (gpointer user_data);
+

+Interface updating callback.

+

+ +

+
++ + + + + + + + + + +

user_data :

opaque data as given to g3d_context_set_update_interface_func() +

Returns :

TRUE on success, FALSE else. +
+
+
+
+

G3DUpdateProgressBarFunc ()

+
gboolean            (*G3DUpdateProgressBarFunc)         (G3DFloat percentage,
+                                                         gboolean show,
+                                                         gpointer user_data);
+

+Progress updating callback.

+

+ +

+
++ + + + + + + + + + + + + + + + + + +

percentage :

progress of plugin operation +

show :

TRUE if the progress bar should be visible, FALSE else +

user_data :

opaque data as given to +g3d_context_set_update_progress_bar_func() +

Returns :

TRUE on success, FALSE else. +
+
+
+
+

g3d_context_update_interface ()

+
gboolean            g3d_context_update_interface        (G3DContext *context);
+

+Try to update the interface. This will call a function registered with +g3d_context_set_update_interface_func.

+

+ +

+
++ + + + + + + + + + +

context :

a valid context +

Returns :

TRUE on success, FALSE else +
+
+
+
+

g3d_context_set_update_interface_func ()

+
void                g3d_context_set_update_interface_func
+                                                        (G3DContext *context,
+                                                         G3DUpdateInterfaceFunc func,
+                                                         gpointer user_data);
+

+Registers a callback function for updating the interface.

+

+ +

+
++ + + + + + + + + + + + + + +

context :

a valid context +

func :

the callback function +

user_data :

user-defined opaque pointer +
+
+
+
+

g3d_context_update_progress_bar ()

+
gboolean            g3d_context_update_progress_bar     (G3DContext *context,
+                                                         G3DFloat percentage,
+                                                         gboolean visibility);
+

+Try to update the progress bar.

+

+ +

+
++ + + + + + + + + + + + + + + + + + +

context :

a valid context +

percentage :

the percentage to set on the progress bar +

visibility :

show or hide the progress bar +

Returns :

TRUE on success, FALSE else +
+
+
+
+

g3d_context_set_update_progress_bar_func ()

+
void                g3d_context_set_update_progress_bar_func
+                                                        (G3DContext *context,
+                                                         G3DUpdateProgressBarFunc func,
+                                                         gpointer user_data);
+

+Registers a callback function for updating the progress bar.

+

+ +

+
++ + + + + + + + + + + + + + +

context :

a valid context +

func :

the callback function +

user_data :

user-defined opaque pointer +
+
+
+
+

g3d_context_set_bgcolor ()

+
gboolean            g3d_context_set_bgcolor             (G3DContext *context,
+                                                         G3DFloat r,
+                                                         G3DFloat g,
+                                                         G3DFloat b,
+                                                         G3DFloat a);
+

+Try to set the background color. This will call a function registered +with g3d_context_set_set_bgcolor_func.

+

+ +

+
++ + + + + + + + + + + + + + + + + + + + + + + + + + +

context :

a valid context +

r :

red component (range: 0.0 .. 1.0) +

g :

green component (range: 0.0 .. 1.0) +

b :

green component (range: 0.0 .. 1.0) +

a :

alpha component +

Returns :

TRUE on success, FALSE else +
+
+
+
+

g3d_context_set_set_bgcolor_func ()

+
void                g3d_context_set_set_bgcolor_func    (G3DContext *context,
+                                                         G3DSetBgColorFunc func,
+                                                         gpointer user_data);
+

+Registers a callback function for setting the background color.

+

+ +

+
++ + + + + + + + + + + + + + +

context :

a valid context +

func :

the callback function +

user_data :

user-defined opaque pointer +
+
+
+
+

See Also

+G3DContext +
+
+ + + diff --git a/src/others/mimesh/libg3d-0.0.8/doc/api/html/libg3d-face.html b/src/others/mimesh/libg3d-0.0.8/doc/api/html/libg3d-face.html new file mode 100644 index 0000000..5ae49f3 --- /dev/null +++ b/src/others/mimesh/libg3d-0.0.8/doc/api/html/libg3d-face.html @@ -0,0 +1,255 @@ + + + + +face + + + + + + + + + + + + + + + + + + + + + +
+
+
+ + +
+

face

+

face — Face manipulation

+
+
+

Synopsis

+
+
+#include <g3d/face.h>
+
+#define             G3D_FLAG_MAT_TWOSIDE
+#define             G3D_FLAG_FAC_NORMALS
+#define             G3D_FLAG_FAC_TEXMAP
+                    G3DFace;
+gboolean            g3d_face_get_normal                 (G3DFace *face,
+                                                         G3DObject *object,
+                                                         G3DFloat *nx,
+                                                         G3DFloat *ny,
+                                                         G3DFloat *nz);
+void                g3d_face_free                       (G3DFace *face);
+
+
+
+

Description

+

+A face is plane bordered by at least 3 vertices.

+

+ +

+
+
+

Details

+
+

G3D_FLAG_MAT_TWOSIDE

+
#define G3D_FLAG_MAT_TWOSIDE    (1L << 0)
+
+

+Faces using this material should be rendered two-sided as the direction +is unknown.

+

+ +

+
+
+
+

G3D_FLAG_FAC_NORMALS

+
#define G3D_FLAG_FAC_NORMALS    (1L << 0)
+
+

+The face has custom normals.

+

+ +

+
+
+
+

G3D_FLAG_FAC_TEXMAP

+
#define G3D_FLAG_FAC_TEXMAP     (1L << 1)
+
+

+The face has a texture map and texture coordinates.

+

+ +

+
+
+
+

G3DFace

+
typedef struct {
+	guint32 vertex_count;
+	guint32 *vertex_indices;
+
+	G3DMaterial *material;
+
+	guint32 flags;
+
+	G3DVector *normals;
+
+	G3DImage *tex_image;
+	guint32 tex_vertex_count;
+	G3DVector *tex_vertex_data;
+} G3DFace;
+
+

+An object representing a surface.

+

+ +

+
++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

guint32 vertex_count;

number of vertices +

guint32 *vertex_indices;

indices of vertices in G3DObject +

G3DMaterial *material;

material to use for surface +

guint32 flags;

flags +

G3DVector *normals;

optional normal array (one vector - 3 G3DVector values - for each + vertex) +

G3DImage *tex_image;

optional texture image +

guint32 tex_vertex_count;

number of texture vertices, should be 0 or match + vertex_count +

G3DVector *tex_vertex_data;

array of texture vertices +
+
+
+
+

g3d_face_get_normal ()

+
gboolean            g3d_face_get_normal                 (G3DFace *face,
+                                                         G3DObject *object,
+                                                         G3DFloat *nx,
+                                                         G3DFloat *ny,
+                                                         G3DFloat *nz);
+

+calculates the normal of a face.

+

+ +

+
++ + + + + + + + + + + + + + + + + + + + + + + + + + +

face :

face to calculate normal of +

object :

object containing vertices of face +

nx :

x component of resulting normal +

ny :

y component of resulting normal +

nz :

z component of resulting normal +

Returns :

TRUE on success, FALSE else +
+
+
+
+

g3d_face_free ()

+
void                g3d_face_free                       (G3DFace *face);
+

+Frees all memory allocated for this face.

+

+ +

+
++ + + + +

face :

the face to free +
+
+
+
+ + + diff --git a/src/others/mimesh/libg3d-0.0.8/doc/api/html/libg3d-iff.html b/src/others/mimesh/libg3d-0.0.8/doc/api/html/libg3d-iff.html new file mode 100644 index 0000000..69e560e --- /dev/null +++ b/src/others/mimesh/libg3d-0.0.8/doc/api/html/libg3d-iff.html @@ -0,0 +1,872 @@ + + + + +iff + + + + + + + + + + + + + + + + + + + + + +
+
+
+ + +
+

iff

+

iff — IFF file helper functions

+
+
+

Synopsis

+
+
+#include <g3d/iff.h>
+
+#define             G3D_IFF_PAD1
+#define             G3D_IFF_PAD2
+#define             G3D_IFF_PAD4
+#define             G3D_IFF_PAD8
+#define             G3D_IFF_LE
+#define             G3D_IFF_LEN16
+#define             G3D_IFF_SUBCHUNK_LEN16
+#define             G3D_IFF_MKID                        (a,b,c,d)
+gboolean            g3d_iff_check                       (G3DStream *stream,
+                                                         guint32 *id,
+                                                         gsize *len);
+gsize               g3d_iff_read_chunk                  (G3DStream *stream,
+                                                         guint32 *id,
+                                                         gsize *len,
+                                                         guint32 flags);
+gpointer            g3d_iff_handle_chunk                (G3DIffGlobal *global,
+                                                         G3DIffLocal *plocal,
+                                                         G3DIffChunkInfo *chunks,
+                                                         guint32 flags);
+gboolean            g3d_iff_chunk_matches               (guint32 id,
+                                                         gchar *tid);
+gboolean            g3d_iff_read_ctnr                   (G3DIffGlobal *global,
+                                                         G3DIffLocal *local,
+                                                         G3DIffChunkInfo *chunks,
+                                                         guint32 flags);
+gchar*              g3d_iff_id_to_text                  (guint32 id);
+FILE*               g3d_iff_open                        (const gchar *filename,
+                                                         guint32 *id,
+                                                         guint32 *len);
+int                 g3d_iff_readchunk                   (FILE *f,
+                                                         guint32 *id,
+                                                         guint32 *len,
+                                                         guint32 flags);
+gboolean            (*G3DIffChunkCallback)              (G3DIffGlobal *global,
+                                                         G3DIffLocal *local);
+#define             g3d_iff_chunk_callback
+                    G3DIffChunkInfo;
+#define             g3d_iff_chunk_info
+                    G3DIffGlobal;
+#define             g3d_iff_gdata
+                    G3DIffLocal;
+#define             g3d_iff_ldata
+
+
+
+

Description

+

+These are helper functions to read data from the Interchange File Format +(IFF).

+

+ +

+
+
+

Details

+
+

G3D_IFF_PAD1

+
#define G3D_IFF_PAD1   0x01
+
+

+No padding is done after chunks.

+

+ +

+
+
+
+

G3D_IFF_PAD2

+
#define G3D_IFF_PAD2   0x02
+
+

+Chunks are 2-byte aligned

+

+ +

+
+
+
+

G3D_IFF_PAD4

+
#define G3D_IFF_PAD4   0x04
+
+

+Chunks are 4-byte aligned

+

+ +

+
+
+
+

G3D_IFF_PAD8

+
#define G3D_IFF_PAD8   0x08
+
+

+Chunks are 8-byte aligned

+

+ +

+
+
+
+

G3D_IFF_LE

+
#define G3D_IFF_LE               0x40 /* little endian */
+
+

+The file has little-endian data.

+

+ +

+
+
+
+

G3D_IFF_LEN16

+
#define G3D_IFF_LEN16            0x20
+
+

+All chunks have 16-bit sizes.

+

+ +

+
+
+
+

G3D_IFF_SUBCHUNK_LEN16

+
#define G3D_IFF_SUBCHUNK_LEN16   0x10
+
+

+All chunks except the toplevel ones have 16-bit sizes.

+

+ +

+
+
+
+

G3D_IFF_MKID()

+
#define             G3D_IFF_MKID(a,b,c,d)
+

+Generate an IFF chunk identifier from character representation, e.g. +G3D_IFF_MKID('F','O','R','M').

+

+ +

+
++ + + + + + + + + + + + + + + + + + +

a :

first byte +

b :

second byte +

c :

third byte +

d :

fourth byte +
+
+
+
+

g3d_iff_check ()

+
gboolean            g3d_iff_check                       (G3DStream *stream,
+                                                         guint32 *id,
+                                                         gsize *len);
+

+Checks a stream for a valid IFF signature and reads the top level container.

+

+ +

+
++ + + + + + + + + + + + + + + + + + +

stream :

stream containing IFF file to check +

id :

top level ID (out) +

len :

length of top level container (out) +

Returns :

TRUE on success (valid IFF), FALSE else +
+
+
+
+

g3d_iff_read_chunk ()

+
gsize               g3d_iff_read_chunk                  (G3DStream *stream,
+                                                         guint32 *id,
+                                                         gsize *len,
+                                                         guint32 flags);
+

+Reads one chunk header from an IFF file.

+

+ +

+
++ + + + + + + + + + + + + + + + + + + + + + +

stream :

stream to read from +

id :

ID of chunk (out) +

len :

length of chunk (excluding header) (out) +

flags :

flags +

Returns :

real length of chunk including header and possible padding byte +
+
+
+
+

g3d_iff_handle_chunk ()

+
gpointer            g3d_iff_handle_chunk                (G3DIffGlobal *global,
+                                                         G3DIffLocal *plocal,
+                                                         G3DIffChunkInfo *chunks,
+                                                         guint32 flags);
+

+Handle an IFF chunk based on chunk description.

+

+ +

+
++ + + + + + + + + + + + + + + + + + + + + + +

global :

global data +

plocal :

local data of parent chunk, must not be NULL +

chunks :

chunk description list +

flags :

IFF flags +

Returns :

level object for siblings, may be NULL. +
+
+
+
+

g3d_iff_chunk_matches ()

+
gboolean            g3d_iff_chunk_matches               (guint32 id,
+                                                         gchar *tid);
+

+Check whether id and tid match.

+

+ +

+
++ + + + + + + + + + + + + + +

id :

IFF identifier +

tid :

textual representation of identifier +

Returns :

TRUE on match, FALSE else. +
+
+
+
+

g3d_iff_read_ctnr ()

+
gboolean            g3d_iff_read_ctnr                   (G3DIffGlobal *global,
+                                                         G3DIffLocal *local,
+                                                         G3DIffChunkInfo *chunks,
+                                                         guint32 flags);
+

+Read subchunks in current chunk and handle them appropriately.

+

+ +

+
++ + + + + + + + + + + + + + + + + + + + + + +

global :

global data +

local :

local data of current chunk, must not be NULL +

chunks :

chunk description list +

flags :

IFF flags +

Returns :

TRUE on success, FALSE else. +
+
+
+
+

g3d_iff_id_to_text ()

+
gchar*              g3d_iff_id_to_text                  (guint32 id);
+

+Get the text representation of an IFF chunk identifier.

+

+ +

+
++ + + + + + + + + + +

id :

an IFF identifier +

Returns :

a newly allocated string containing the text identifier. +
+
+
+
+

g3d_iff_open ()

+
FILE*               g3d_iff_open                        (const gchar *filename,
+                                                         guint32 *id,
+                                                         guint32 *len);
+

+Opens an IFF file, checks it and reads its top level container.

+

+ +

+
++ + + + + + + + + + + + + + + + + + +

filename :

file name of IFF file +

id :

top level ID (out) +

len :

length of top level container (out) +

Returns :

the file pointer of open file or NULL in case of an error +
+
+
+
+

g3d_iff_readchunk ()

+
int                 g3d_iff_readchunk                   (FILE *f,
+                                                         guint32 *id,
+                                                         guint32 *len,
+                                                         guint32 flags);
+

+Reads one chunk header from an IFF file.

+

+ +

+
++ + + + + + + + + + + + + + + + + + + + + + +

f :

the open IFF file pointer +

id :

ID of chunk (out) +

len :

length of chunk (excluding header) (out) +

flags :

flags +

Returns :

real length of chunk including header and possible padding byte +
+
+
+
+

G3DIffChunkCallback ()

+
gboolean            (*G3DIffChunkCallback)              (G3DIffGlobal *global,
+                                                         G3DIffLocal *local);
+

+IFF callback function prototype.

+

+ +

+
++ + + + + + + + + + + + + + +

global :

the global data +

local :

the local data +

Returns :

TRUE on success, FALSE else. +
+
+
+
+

g3d_iff_chunk_callback

+
#define g3d_iff_chunk_callback G3DIffChunkCallback
+
+

+IFF chunk callback (deprecated).

+

+ +

+
+
+
+

G3DIffChunkInfo

+
typedef struct {
+	gchar *id;
+	gchar *description;
+	gboolean container;
+	G3DIffChunkCallback callback;
+} G3DIffChunkInfo;
+
+

+A chunk type description.

+

+ +

+
++ + + + + + + + + + + + + + + + + + +

gchar *id;

identifier of chunk +

gchar *description;

human-readable description of chunk type +

gboolean container;

TRUE if this chunk contains sub-chunks +

G3DIffChunkCallback callback;

function to be called if such a chunk is found +
+
+
+
+

g3d_iff_chunk_info

+
#define g3d_iff_chunk_info G3DIffChunkInfo
+
+

+IFF chunk description (deprecated).

+

+ +

+
+
+
+

G3DIffGlobal

+
typedef struct {
+	G3DContext *context;
+	G3DModel *model;
+	G3DStream *stream;
+	guint32 flags;
+	gpointer user_data;
+	FILE *f;
+	long int max_fpos;
+} G3DIffGlobal;
+
+

+The plugin-global data to be given to IFF callback functions.

+

+ +

+
++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

G3DContext *context;

a valid context +

G3DModel *model;

a model +

G3DStream *stream;

the stream to read model from +

guint32 flags;

IFF flags +

gpointer user_data;

to be used by plugin +

FILE *f;

file to read model from (DEPRECATED) +

long int max_fpos;

maximum file position (DEPRECATED) +
+
+
+
+

g3d_iff_gdata

+
#define g3d_iff_gdata G3DIffGlobal
+
+

+IFF global data (deprecated).

+

+ +

+
+
+
+

G3DIffLocal

+
typedef struct {
+	guint32 id;
+	guint32 parent_id;
+	gpointer object;
+	gint32 level;
+	gpointer level_object;
+	gint32 nb;
+	gboolean finalize;
+} G3DIffLocal;
+
+

+The function-local data for IFF callback functions.

+

+ +

+
++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

guint32 id;

chunk identifier +

guint32 parent_id;

parent chunk identifier +

gpointer object;

an object set by parent callbacks, may be NULL +

gint32 level;

level of chunk +

gpointer level_object;

object shared by callbacks on the same level, may be NULL +

gint32 nb;

number of bytes remaining in chunk, has to be decremented after +correctly after reading from stream +

gboolean finalize;

for container chunks the callback function is called before +and after processing possible sub-chunks, the second time finalize is set +to TRUE +
+
+
+
+

g3d_iff_ldata

+
#define g3d_iff_ldata G3DIffLocal
+
+

+IFF local data (deprecated).

+

+ +

+
+
+
+ + + diff --git a/src/others/mimesh/libg3d-0.0.8/doc/api/html/libg3d-material.html b/src/others/mimesh/libg3d-0.0.8/doc/api/html/libg3d-material.html new file mode 100644 index 0000000..e4afa07 --- /dev/null +++ b/src/others/mimesh/libg3d-0.0.8/doc/api/html/libg3d-material.html @@ -0,0 +1,174 @@ + + + + +material + + + + + + + + + + + + + + + + + + + + + +
+
+
+ + +
+

material

+

material — Material generation and manipulation

+
+
+

Synopsis

+
+
+#include <g3d/material.h>
+
+                    G3DMaterial;
+G3DMaterial*        g3d_material_new                    (void);
+void                g3d_material_free                   (G3DMaterial *material);
+
+
+
+

Description

+

+A material contains all color, shading and texture information for a +G3DFace.

+

+ +

+
+
+

Details

+
+

G3DMaterial

+
typedef struct {
+	gchar *name;
+	G3DFloat r, g, b, a;
+	G3DFloat shininess;
+	G3DFloat specular[4];
+	guint32 flags;
+
+	G3DImage *tex_image;
+} G3DMaterial;
+
+

+A material object.

+

+ +

+
++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

gchar *name;

name of material +

G3DFloat r;

red component of color +

G3DFloat g;

green component of color +

G3DFloat b;

blue component of color +

G3DFloat a;

alpha component of color +

G3DFloat shininess;

shiny color +

G3DFloat specular[4];

specular color +

guint32 flags;

flags +

G3DImage *tex_image;

texture image (optional, may be NULL) +
+
+
+
+

g3d_material_new ()

+
G3DMaterial*        g3d_material_new                    (void);
+

+Generates a new material with a default color.

+

+ +

+
++ + + + +

Returns :

the new material or NULL on error +
+
+
+
+

g3d_material_free ()

+
void                g3d_material_free                   (G3DMaterial *material);
+

+Frees all memory allocated for that material.

+

+ +

+
++ + + + +

material :

the material to free +
+
+
+
+ + + diff --git a/src/others/mimesh/libg3d-0.0.8/doc/api/html/libg3d-matrix.html b/src/others/mimesh/libg3d-0.0.8/doc/api/html/libg3d-matrix.html new file mode 100644 index 0000000..2ffe686 --- /dev/null +++ b/src/others/mimesh/libg3d-0.0.8/doc/api/html/libg3d-matrix.html @@ -0,0 +1,450 @@ + + + + +matrix + + + + + + + + + + + + + + + + + + + + + +
+
+
+ + +
+

matrix

+

matrix — Matrix manipulation and calculation

+
+ +
+

Description

+

+Matrices in libg3d have the following layout: +

+

+G3DMatrix matrix[16]: +

+

+matrix[col * 4 + row] = f;

+

+ +

+
+
+

Details

+
+

G3DMatrix

+
typedef G3DFloat G3DMatrix;
+
+

+Matrix element type.

+

+ +

+
+
+
+

g3d_matrix_identity ()

+
gboolean            g3d_matrix_identity                 (G3DMatrix *matrix);
+

+Sets the given matrix to the identity matrix.

+

+ +

+
++ + + + + + + + + + +

matrix :

4x4 matrix (float[16]) +

Returns :

TRUE on success, FALSE else +
+
+
+
+

g3d_matrix_multiply ()

+
gboolean            g3d_matrix_multiply                 (G3DMatrix *m1,
+                                                         G3DMatrix *m2,
+                                                         G3DMatrix *rm);
+

+Multiplies the matrixes.

+

+ +

+
++ + + + + + + + + + + + + + + + + + +

m1 :

first matrix +

m2 :

second matrix +

rm :

resulting matrix +

Returns :

TRUE on success, FALSE else +
+
+
+
+

g3d_matrix_translate ()

+
gboolean            g3d_matrix_translate                (G3DFloat x,
+                                                         G3DFloat y,
+                                                         G3DFloat z,
+                                                         G3DMatrix *rm);
+

+Adds a translation to the the matrix.

+

+ +

+
++ + + + + + + + + + + + + + + + + + + + + + +

x :

x translation +

y :

y translation +

z :

z translation +

rm :

resulting matrix +

Returns :

TRUE on success, FALSE else +
+
+
+
+

g3d_matrix_rotate ()

+
gboolean            g3d_matrix_rotate                   (G3DFloat angle,
+                                                         G3DFloat ax,
+                                                         G3DFloat ay,
+                                                         G3DFloat az,
+                                                         G3DMatrix *rm);
+

+Adds a rotation to the matrix.

+

+ +

+
++ + + + + + + + + + + + + + + + + + + + + + + + + + +

angle :

rotation angle +

ax :

x component of rotation axis +

ay :

y component of rotation axis +

az :

z component of rotation axis +

rm :

resulting matrix +

Returns :

TRUE on success, FALSE else +
+
+
+
+

g3d_matrix_rotate_xyz ()

+
gboolean            g3d_matrix_rotate_xyz               (G3DFloat rx,
+                                                         G3DFloat ry,
+                                                         G3DFloat rz,
+                                                         G3DMatrix *rm);
+

+Adds a rotation around the 3 coordinate system axes to the matrix.

+

+ +

+
++ + + + + + + + + + + + + + + + + + + + + + +

rx :

rotation around x axis +

ry :

rotation around y axis +

rz :

rotation around z axis +

rm :

resulting matrix +

Returns :

TRUE on success, FALSE else +
+
+
+
+

g3d_matrix_scale ()

+
gboolean            g3d_matrix_scale                    (G3DFloat x,
+                                                         G3DFloat y,
+                                                         G3DFloat z,
+                                                         G3DMatrix *rm);
+

+Adds a scaling to the matrix.

+

+ +

+
++ + + + + + + + + + + + + + + + + + + + + + +

x :

x factor +

y :

y factor +

z :

z factor +

rm :

resulting matrix +

Returns :

TRUE on success, FALSE else +
+
+
+
+

g3d_matrix_transpose ()

+
gboolean            g3d_matrix_transpose                (G3DMatrix *matrix);
+

+Transposes the matrix.

+

+ +

+
++ + + + + + + + + + +

matrix :

the matrix +

Returns :

TRUE on success, FALSE else +
+
+
+
+

g3d_matrix_determinant ()

+
G3DFloat            g3d_matrix_determinant              (G3DMatrix *matrix);
+

+Calculate the determinant of the matrix (FIXME: not verified).

+

+ +

+
++ + + + + + + + + + +

matrix :

the matrix +

Returns :

the determinant. +
+
+
+
+

g3d_matrix_dump ()

+
gboolean            g3d_matrix_dump                     (G3DMatrix *matrix);
+

+If debugging is enabled, this function dump the matrix to stderr.

+

+ +

+
++ + + + + + + + + + +

matrix :

the matrix +

Returns :

TRUE if matrix is dumped, FALSE else +
+
+
+
+ + + diff --git a/src/others/mimesh/libg3d-0.0.8/doc/api/html/libg3d-model.html b/src/others/mimesh/libg3d-0.0.8/doc/api/html/libg3d-model.html new file mode 100644 index 0000000..3c28b34 --- /dev/null +++ b/src/others/mimesh/libg3d-0.0.8/doc/api/html/libg3d-model.html @@ -0,0 +1,438 @@ + + + + +model + + + + + + + + + + + + + + + + + + + + + +
+
+
+ + +
+

model

+

model — Model manipulation functions

+
+
+

Synopsis

+
+
+#include <g3d/g3d.h>
+
+#define             G3D_MODEL_CENTER
+#define             G3D_MODEL_NOCHECK
+#define             G3D_MODEL_OPTIMIZE
+#define             G3D_MODEL_SCALE
+                    G3DModel;
+G3DModel*           g3d_model_new                       (void);
+G3DModel*           g3d_model_load                      (G3DContext *context,
+                                                         const gchar *filename);
+G3DModel*           g3d_model_load_full                 (G3DContext *context,
+                                                         const gchar *filename,
+                                                         guint32 flags);
+gboolean            g3d_model_check                     (G3DModel *model);
+gboolean            g3d_model_center                    (G3DModel *model);
+gboolean            g3d_model_transform                 (G3DModel *model,
+                                                         G3DMatrix *matrix);
+void                g3d_model_clear                     (G3DModel *model);
+void                g3d_model_free                      (G3DModel *model);
+G3DObject*          g3d_model_get_object_by_name        (G3DModel *model,
+                                                         const gchar *name);
+
+
+
+

Description

+

+A model is a group of objects. All information loaded from a file by libg3d +is found in this model.

+

+ +

+
+
+

Details

+
+

G3D_MODEL_CENTER

+
#define G3D_MODEL_CENTER          (1 << 1)
+
+

+The model should be centered around the (0,0,0).

+

+ +

+
+
+
+

G3D_MODEL_NOCHECK

+
#define G3D_MODEL_NOCHECK         (1 << 3)
+
+

+The common checks should be disabled. The checks include: +

+
    +
  • faces have at least 3 indices
  • +
  • face indices are <= number of vertices
  • +
  • material of faces is not NULL
  • +
+

+ +

+
+
+
+

G3D_MODEL_OPTIMIZE

+
#define G3D_MODEL_OPTIMIZE        (1 << 2)
+
+

+The model material/object/face lists should be serialized to some private +arrays (deprecated).

+

+ +

+
+
+
+

G3D_MODEL_SCALE

+
#define G3D_MODEL_SCALE           (1 << 0)
+
+

+The model should be scaled to a maximum extension of +/- 10.0.

+

+ +

+
+
+
+

G3DModel

+
typedef struct {
+	gchar *filename;
+	GSList *materials;
+	GSList *objects;
+} G3DModel;
+
+

+A 3D model.

+

+ +

+
++ + + + + + + + + + + + + + +

gchar *filename;

file name or URI of loaded model, may be set by application +

GSList *materials;

list of materials (G3DMaterial) +

GSList *objects;

list of objects (G3DObject) +
+
+
+
+

g3d_model_new ()

+
G3DModel*           g3d_model_new                       (void);
+

+This functions allocates and initializes a new G3DModel.

+

+ +

+
++ + + + +

Returns :

a newly allocated G3DModel +
+
+
+
+

g3d_model_load ()

+
G3DModel*           g3d_model_load                      (G3DContext *context,
+                                                         const gchar *filename);
+

+Loads a model from a file. The model is checked, centered, resized, +optimized.

+

+ +

+
++ + + + + + + + + + + + + + +

context :

a valid context +

filename :

the file name of the model to load +

Returns :

the loaded model or NULL in case of an error +
+
+
+
+

g3d_model_load_full ()

+
G3DModel*           g3d_model_load_full                 (G3DContext *context,
+                                                         const gchar *filename,
+                                                         guint32 flags);
+

+Loads a model from a file. Depending on flags the model is checked, +centered, resized, optimized.

+

+ +

+
++ + + + + + + + + + + + + + + + + + +

context :

a valid context +

filename :

the file name of the model to load +

flags :

object manipulation flags +

Returns :

the loaded model or NULL in case of an error. +
+
+
+
+

g3d_model_check ()

+
gboolean            g3d_model_check                     (G3DModel *model);
+

+Checks whether a model returned by plugin is valid.

+

+ +

+
++ + + + + + + + + + +

model :

the model to check +

Returns :

TRUE on success, FALSE on error +
+
+
+
+

g3d_model_center ()

+
gboolean            g3d_model_center                    (G3DModel *model);
+

+Translates all object coordinates that the object center is at (0, 0, 0)

+

+ +

+
++ + + + + + + + + + +

model :

the model to center +

Returns :

TRUE on success, FALSE on error +
+
+
+
+

g3d_model_transform ()

+
gboolean            g3d_model_transform                 (G3DModel *model,
+                                                         G3DMatrix *matrix);
+

+Transform all toplevel objects in model with matrix.

+

+ +

+
++ + + + + + + + + + + + + + +

model :

the model +

matrix :

transformation matrix +

Returns :

TRUE on success, FALSE else +
+
+
+
+

g3d_model_clear ()

+
void                g3d_model_clear                     (G3DModel *model);
+

+Removes all objects from a model.

+

+ +

+
++ + + + +

model :

the model to clear +
+
+
+
+

g3d_model_free ()

+
void                g3d_model_free                      (G3DModel *model);
+

+Frees all memory allocated for the model including all objects, materials +and textures.

+

+ +

+
++ + + + +

model :

the model to free +
+
+
+
+

g3d_model_get_object_by_name ()

+
G3DObject*          g3d_model_get_object_by_name        (G3DModel *model,
+                                                         const gchar *name);
+

+Searches the object tree for an object with the given name.

+

+ +

+
++ + + + + + + + + + + + + + +

model :

the model containing all objects +

name :

the name of the requested object +

Returns :

the requested object or NULL if non was found +
+
+
+
+ + + diff --git a/src/others/mimesh/libg3d-0.0.8/doc/api/html/libg3d-object.html b/src/others/mimesh/libg3d-0.0.8/doc/api/html/libg3d-object.html new file mode 100644 index 0000000..c06bc24 --- /dev/null +++ b/src/others/mimesh/libg3d-0.0.8/doc/api/html/libg3d-object.html @@ -0,0 +1,466 @@ + + + + +object + + + + + + + + + + + + + + + + + + + + + +
+
+
+ + +
+

object

+

object — Object manipulation

+
+ +
+

Description

+

+Objects are parts of a model. In most file formats vertices and faces are +grouped in some way into objects. Objects can be hierarchical, so what a +model contains is basically an object tree.

+

+ +

+
+
+

Details

+
+

G3DObject

+
typedef struct {
+	gchar *name;
+
+	GSList *materials;
+	GSList *faces;
+	GSList *objects;
+
+	/* transformation, may be NULL */
+	G3DTransformation *transformation;
+
+	/* don't render this object */
+	gboolean hide;
+
+	/* vertices */
+	guint32 vertex_count;
+	G3DVector *vertex_data;
+} G3DObject;
+
+

+A three-dimensional object.

+

+ +

+
++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

gchar *name;

name of object +

GSList *materials;

list of materials +

GSList *faces;

list of faces +

GSList *objects;

list of sub-objects +

G3DTransformation *transformation;

optional transformation +

gboolean hide;

flag to disable object rendering +

guint32 vertex_count;

number of vertices +

G3DVector *vertex_data;

vertex vector data +
+
+
+
+

G3DTransformation

+
typedef struct {
+	G3DMatrix matrix[16];
+	guint32 flags;
+} G3DTransformation;
+
+

+A three-dimensional matrix transformation object.

+

+ +

+
++ + + + + + + + + + +

G3DMatrix matrix[16];

the transformation matrix +

guint32 flags;

flags +
+
+
+
+

g3d_object_free ()

+
void                g3d_object_free                     (G3DObject *object);
+

+Frees all memory allocated for that object.

+

+ +

+
++ + + + +

object :

the object to free +
+
+
+
+

g3d_object_radius ()

+
gdouble             g3d_object_radius                   (G3DObject *object);
+

+Calculates the radius of the object. This is the maximum from the +center to a vertex.

+

+ +

+
++ + + + + + + + + + +

object :

the object to measure +

Returns :

the radius of the given object +
+
+
+
+

g3d_object_scale ()

+
gboolean            g3d_object_scale                    (G3DObject *object,
+                                                         G3DFloat scale);
+

+Resizes the object by the factor scale.

+

+ +

+
++ + + + + + + + + + + + + + +

object :

the object to scale +

scale :

scale factor +

Returns :

TRUE on success, FALSE else +
+
+
+
+

g3d_object_transform ()

+
gboolean            g3d_object_transform                (G3DObject *object,
+                                                         G3DMatrix *matrix);
+

+Multiplies all vertices of the object with the transformation matrix.

+

+ +

+
++ + + + + + + + + + + + + + +

object :

the object to transform +

matrix :

the transformation matrix +

Returns :

TRUE on success, FALSE else +
+
+
+
+

g3d_object_transform_normals ()

+
gboolean            g3d_object_transform_normals        (G3DObject *object,
+                                                         G3DMatrix *matrix);
+

+Multiplies all normals of the object with the transformation matrix.

+

+ +

+
++ + + + + + + + + + + + + + +

object :

the object to transform +

matrix :

the transformation matrix +

Returns :

TRUE on success, FALSE else +
+
+
+
+

g3d_object_duplicate ()

+
G3DObject*          g3d_object_duplicate                (G3DObject *object);
+

+Duplicates an object with all vertices, faces and materials.

+

+ +

+
++ + + + + + + + + + +

object :

the object to duplicate +

Returns :

the new clone object +
+
+
+
+

g3d_object_optimize ()

+
gboolean            g3d_object_optimize                 (G3DObject *object);
+

+Puts all vertex and face information into special arrays for faster +rendering. It is deprecated and should not be used.

+

+ +

+
++ + + + + + + + + + +

object :

the object to optimize +

Returns :

TRUE on success, FALSE else +
+
+
+
+

g3d_object_smooth ()

+
gboolean            g3d_object_smooth                   (G3DObject *object);
+

+FIXME: unimplemented.

+

+ +

+
++ + + + + + + + + + +

object :

the object to smooth +

Returns :

TRUE on success, FALSE else +
+
+
+
+

g3d_object_merge ()

+
gboolean            g3d_object_merge                    (G3DObject *o1,
+                                                         G3DObject *o2);
+

+Merges both objects into o1. +FIXME: needs cleanup

+

+ +

+
++ + + + + + + + + + + + + + +

o1 :

first and target object +

o2 :

second object +

Returns :

TRUE on success, FALSE else +
+
+
+
+ + + diff --git a/src/others/mimesh/libg3d-0.0.8/doc/api/html/libg3d-plugins.html b/src/others/mimesh/libg3d-0.0.8/doc/api/html/libg3d-plugins.html new file mode 100644 index 0000000..d7efa02 --- /dev/null +++ b/src/others/mimesh/libg3d-0.0.8/doc/api/html/libg3d-plugins.html @@ -0,0 +1,727 @@ + + + + +plugins + + + + + + + + + + + + + + + + + + + + + +
+
+
+ + +
+

plugins

+

plugins — G3DPlugin interface

+
+
+

Synopsis

+
+
+#include <g3d/plugins.h>
+
+enum                G3DPluginType;
+gpointer            (*G3DPluginInitFunc)                (G3DContext *context);
+void                (*G3DPluginCleanupFunc)             (gpointer user_data);
+gboolean            (*G3DPluginLoadModelFunc)           (G3DContext *context,
+                                                         const gchar *filename,
+                                                         G3DModel *model,
+                                                         gpointer user_data);
+gboolean            (*G3DPluginLoadModelFromStreamFunc) (G3DContext *context,
+                                                         G3DStream *stream,
+                                                         G3DModel *model,
+                                                         gpointer user_data);
+gboolean            (*G3DPluginLoadImageFunc)           (G3DContext *context,
+                                                         const gchar *filename,
+                                                         G3DImage *image,
+                                                         gpointer user_data);
+gboolean            (*G3DPluginLoadImageStreamFunc)     (G3DContext *context,
+                                                         G3DStream *stream,
+                                                         G3DImage *image,
+                                                         gpointer user_data);
+gchar*              (*G3DPluginGetDescFunc)             (G3DContext *context);
+gchar**             (*G3DPluginGetExtFunc)              (G3DContext *context);
+                    G3DPlugin;
+gboolean            g3d_plugins_init                    (G3DContext *context);
+void                g3d_plugins_cleanup                 (G3DContext *context);
+gboolean            g3d_plugins_load_model              (G3DContext *context,
+                                                         const gchar *filename,
+                                                         G3DModel *model);
+gboolean            g3d_plugins_load_model_from_stream  (G3DContext *context,
+                                                         G3DStream *stream,
+                                                         G3DModel *model);
+gboolean            g3d_plugins_load_image              (G3DContext *context,
+                                                         const gchar *filename,
+                                                         G3DImage *image);
+gboolean            g3d_plugins_load_image_from_stream  (G3DContext *context,
+                                                         G3DStream *stream,
+                                                         G3DImage *image);
+gchar**             g3d_plugins_get_image_extensions    (G3DContext *context);
+
+
+
+

Description

+

+Direct interaction with the plugin system is normally not needed when using +libg3d. It may be required when writing a plugin which should load a +G3DImage or a G3DModel with another plugin.

+

+ +

+
+
+

Details

+
+

enum G3DPluginType

+
typedef enum {
+	G3D_PLUGIN_UNKNOWN = 0x00,
+	G3D_PLUGIN_IMPORT,
+	G3D_PLUGIN_IMAGE
+} G3DPluginType;
+
+

+Type of plugin.

+

+ +

+
++ + + + + + + + + + + + + + +

G3D_PLUGIN_UNKNOWN

unknown plugin type +

G3D_PLUGIN_IMPORT

model import plugin +

G3D_PLUGIN_IMAGE

image loading plugin +
+
+
+
+

G3DPluginInitFunc ()

+
gpointer            (*G3DPluginInitFunc)                (G3DContext *context);
+

+Prototype for plugin_init().

+

+ +

+
++ + + + + + + + + + +

context :

the context +

Returns :

opaque plugin data. +
+
+
+
+

G3DPluginCleanupFunc ()

+
void                (*G3DPluginCleanupFunc)             (gpointer user_data);
+

+Prototype for plugin_cleanup().

+

+ +

+
++ + + + +

user_data :

opaque plugin data +
+
+
+
+

G3DPluginLoadModelFunc ()

+
gboolean            (*G3DPluginLoadModelFunc)           (G3DContext *context,
+                                                         const gchar *filename,
+                                                         G3DModel *model,
+                                                         gpointer user_data);
+

+Prototype for plugin_load_model().

+

+ +

+
++ + + + + + + + + + + + + + + + + + + + + + +

context :

the context +

filename :

file name of model +

model :

the model structure to fill +

user_data :

opaque plugin data +

Returns :

TRUE on success, FALSE else. +
+
+
+
+

G3DPluginLoadModelFromStreamFunc ()

+
gboolean            (*G3DPluginLoadModelFromStreamFunc) (G3DContext *context,
+                                                         G3DStream *stream,
+                                                         G3DModel *model,
+                                                         gpointer user_data);
+

+Prototype for plugin_load_model_from_stream().

+

+ +

+
++ + + + + + + + + + + + + + + + + + + + + + +

context :

the context +

stream :

the stream to load from +

model :

the model structure to fill +

user_data :

opaque plugin data +

Returns :

TRUE on success, FALSE else. +
+
+
+
+

G3DPluginLoadImageFunc ()

+
gboolean            (*G3DPluginLoadImageFunc)           (G3DContext *context,
+                                                         const gchar *filename,
+                                                         G3DImage *image,
+                                                         gpointer user_data);
+

+Prototype for plugin_load_image().

+

+ +

+
++ + + + + + + + + + + + + + + + + + + + + + +

context :

the context +

filename :

file name of image +

image :

image structure to fill +

user_data :

opaque plugin data +

Returns :

TRUE on success, FALSE else. +
+
+
+
+

G3DPluginLoadImageStreamFunc ()

+
gboolean            (*G3DPluginLoadImageStreamFunc)     (G3DContext *context,
+                                                         G3DStream *stream,
+                                                         G3DImage *image,
+                                                         gpointer user_data);
+

+Prototype for plugin_load_image_from_stream().

+

+ +

+
++ + + + + + + + + + + + + + + + + + + + + + +

context :

the context +

stream :

the stream to load from +

image :

image structure to fill +

user_data :

opaque plugin data +

Returns :

TRUE on success, FALSE else. +
+
+
+
+

G3DPluginGetDescFunc ()

+
gchar*              (*G3DPluginGetDescFunc)             (G3DContext *context);
+

+Prototype for plugin_description().

+

+ +

+
++ + + + + + + + + + +

context :

the context +

Returns :

a newly-allocated string containing the description of the plugin. +
+
+
+
+

G3DPluginGetExtFunc ()

+
gchar**             (*G3DPluginGetExtFunc)              (G3DContext *context);
+

+Prototype for plugin_extensions().

+

+ +

+
++ + + + + + + + + + +

context :

the context +

Returns :

NULL-terminated list of file extensions supported by this plugin. +Free with g_strfreev(). +
+
+
+
+

G3DPlugin

+
typedef struct {
+} G3DPlugin;
+
+

+A libg3d plugin.

+

+ +

+
+
+
+

g3d_plugins_init ()

+
gboolean            g3d_plugins_init                    (G3DContext *context);
+

+Initializes the plugin system. This is implicitly done when using +g3d_context_new().

+

+ +

+
++ + + + + + + + + + +

context :

a valid G3DContext +

Returns :

TRUE on success, FALSE else. +
+
+
+
+

g3d_plugins_cleanup ()

+
void                g3d_plugins_cleanup                 (G3DContext *context);
+

+Clean up the plugin system. Usually done by g3d_context_free().

+

+ +

+
++ + + + +

context :

a valid context +
+
+
+
+

g3d_plugins_load_model ()

+
gboolean            g3d_plugins_load_model              (G3DContext *context,
+                                                         const gchar *filename,
+                                                         G3DModel *model);
+

+Try to load a model from file using import plugins.

+

+ +

+
++ + + + + + + + + + + + + + + + + + +

context :

a valid context +

filename :

file name of model to load +

model :

model structure to fill +

Returns :

TRUE on success, FALSE else. +
+
+
+
+

g3d_plugins_load_model_from_stream ()

+
gboolean            g3d_plugins_load_model_from_stream  (G3DContext *context,
+                                                         G3DStream *stream,
+                                                         G3DModel *model);
+

+Try to load a model from stream using import plugins.

+

+ +

+
++ + + + + + + + + + + + + + + + + + +

context :

a valid context +

stream :

stream to load model from +

model :

model structure to fill +

Returns :

TRUE on success, FALSE else. +
+
+
+
+

g3d_plugins_load_image ()

+
gboolean            g3d_plugins_load_image              (G3DContext *context,
+                                                         const gchar *filename,
+                                                         G3DImage *image);
+

+Try to load an image from file using import plugins.

+

+ +

+
++ + + + + + + + + + + + + + + + + + +

context :

a valid context +

filename :

file name of image to load +

image :

image structure to fill +

Returns :

TRUE on success, FALSE else. +
+
+
+
+

g3d_plugins_load_image_from_stream ()

+
gboolean            g3d_plugins_load_image_from_stream  (G3DContext *context,
+                                                         G3DStream *stream,
+                                                         G3DImage *image);
+

+Try to load an image from stream using import plugins.

+

+ +

+
++ + + + + + + + + + + + + + + + + + +

context :

a valid context +

stream :

stream to load image from +

image :

image structure to fill +

Returns :

TRUE on success, FALSE else. +
+
+
+
+

g3d_plugins_get_image_extensions ()

+
gchar**             g3d_plugins_get_image_extensions    (G3DContext *context);
+

+Get the supported image type extensions.

+

+ +

+
++ + + + + + + + + + +

context :

a valid context +

Returns :

NULL-terminated list of image file extensions supported by this +plugin. Free with g_strfreev(). +
+
+
+
+

See Also

+G3DPlugin +
+
+ + + diff --git a/src/others/mimesh/libg3d-0.0.8/doc/api/html/libg3d-primitive.html b/src/others/mimesh/libg3d-0.0.8/doc/api/html/libg3d-primitive.html new file mode 100644 index 0000000..cf7facc --- /dev/null +++ b/src/others/mimesh/libg3d-0.0.8/doc/api/html/libg3d-primitive.html @@ -0,0 +1,508 @@ + + + + +primitive + + + + + + + + + + + + + + + + + + + + + +
+
+
+ + +
+

primitive

+

primitive — 3D primitive generation functions

+
+
+

Synopsis

+
+
+#include <g3d/primitive.h>
+
+G3DObject*          g3d_primitive_cube                  (G3DFloat width,
+                                                         G3DFloat height,
+                                                         G3DFloat depth,
+                                                         G3DMaterial *material);
+G3DObject*          g3d_primitive_box                   (G3DFloat width,
+                                                         G3DFloat height,
+                                                         G3DFloat depth,
+                                                         G3DMaterial *material);
+G3DObject*          g3d_primitive_box_strip_2d          (guint32 vcnt,
+                                                         gdouble *vdata,
+                                                         gdouble height,
+                                                         gdouble width,
+                                                         G3DMaterial *material);
+G3DObject*          g3d_primitive_mesh                  (guint32 m,
+                                                         guint32 n,
+                                                         gboolean wrap_m,
+                                                         gboolean wrap_n,
+                                                         G3DMaterial *material);
+G3DObject*          g3d_primitive_cylinder              (G3DFloat radius,
+                                                         G3DFloat height,
+                                                         guint32 sides,
+                                                         gboolean top,
+                                                         gboolean bottom,
+                                                         G3DMaterial *material);
+G3DObject*          g3d_primitive_tube                  (G3DFloat r_in,
+                                                         G3DFloat r_out,
+                                                         G3DFloat height,
+                                                         guint32 sides,
+                                                         gboolean top,
+                                                         gboolean bottom,
+                                                         G3DMaterial *material);
+G3DObject*          g3d_primitive_sphere                (G3DFloat radius,
+                                                         guint32 vseg,
+                                                         guint32 hseg,
+                                                         G3DMaterial *material);
+
+
+
+

Description

+

+Primitives are objects containing basic 3D geometrical structures. A +variety of them can be created using these functions.

+

+ +

+
+
+

Details

+
+

g3d_primitive_cube ()

+
G3DObject*          g3d_primitive_cube                  (G3DFloat width,
+                                                         G3DFloat height,
+                                                         G3DFloat depth,
+                                                         G3DMaterial *material);
+

+Generates an object containing a box. It is deprecated and now a wrapper for +g3d_primitive_box().

+

+ +

+
++ + + + + + + + + + + + + + + + + + + + + + +

width :

the width of the box +

height :

the height of the box +

depth :

the depth of the box +

material :

the material to use for all faces +

Returns :

the box object +
+
+
+
+

g3d_primitive_box ()

+
G3DObject*          g3d_primitive_box                   (G3DFloat width,
+                                                         G3DFloat height,
+                                                         G3DFloat depth,
+                                                         G3DMaterial *material);
+

+Generates an object containing a box.

+

+ +

+
++ + + + + + + + + + + + + + + + + + + + + + +

width :

the width of the box +

height :

the height of the box +

depth :

the depth of the box +

material :

the material to use for all faces +

Returns :

the box object +
+
+
+
+

g3d_primitive_box_strip_2d ()

+
G3DObject*          g3d_primitive_box_strip_2d          (guint32 vcnt,
+                                                         gdouble *vdata,
+                                                         gdouble height,
+                                                         gdouble width,
+                                                         G3DMaterial *material);
+

+Generates a strip of box segments defined by corner center points +using two-dimensional data (x/z plane).

+

+ +

+
++ + + + + + + + + + + + + + + + + + + + + + + + + + +

vcnt :

number of control points +

vdata :

2-dimensional control point data (2 * vcnt * gdouble) +

height :

height of resulting strip (y component) +

width :

width of strip (corner diameter) +

material :

material to use for faces +

Returns :

strip object +
+
+
+
+

g3d_primitive_mesh ()

+
G3DObject*          g3d_primitive_mesh                  (guint32 m,
+                                                         guint32 n,
+                                                         gboolean wrap_m,
+                                                         gboolean wrap_n,
+                                                         G3DMaterial *material);
+

+Generate a mesh consisting of m * n vertices. The vertex data is +initialized with (0.0, 0.0, 0.0) and has to be set to something +useful.

+

+ +

+
++ + + + + + + + + + + + + + + + + + + + + + + + + + +

m :

number of vertices in m direction +

n :

number of vertices in n direction +

wrap_m :

wrap around in m direction +

wrap_n :

wrap around in n direction +

material :

material to use for faces +

Returns :

mesh object +
+
+
+
+

g3d_primitive_cylinder ()

+
G3DObject*          g3d_primitive_cylinder              (G3DFloat radius,
+                                                         G3DFloat height,
+                                                         guint32 sides,
+                                                         gboolean top,
+                                                         gboolean bottom,
+                                                         G3DMaterial *material);
+

+Generates an object containing a cylinder.

+

+ +

+
++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

radius :

the radius of the cylinder +

height :

the height of the side faces +

sides :

number of side faces (number of circle segments) +

top :

add top faces +

bottom :

add bottom faces +

material :

material to use for faces +

Returns :

cylinder object +
+
+
+
+

g3d_primitive_tube ()

+
G3DObject*          g3d_primitive_tube                  (G3DFloat r_in,
+                                                         G3DFloat r_out,
+                                                         G3DFloat height,
+                                                         guint32 sides,
+                                                         gboolean top,
+                                                         gboolean bottom,
+                                                         G3DMaterial *material);
+

+Generates an object containing a tube (a cylinder with a hole).

+

+ +

+
++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

r_in :

inner radius +

r_out :

outer radius +

height :

the height of the side faces +

sides :

number of side faces (number of circle segments) +

top :

add top faces +

bottom :

add bottom faces +

material :

material to use for faces +

Returns :

tube object +
+
+
+
+

g3d_primitive_sphere ()

+
G3DObject*          g3d_primitive_sphere                (G3DFloat radius,
+                                                         guint32 vseg,
+                                                         guint32 hseg,
+                                                         G3DMaterial *material);
+

+Generates an object containing a sphere.

+

+ +

+
++ + + + + + + + + + + + + + + + + + + + + + +

radius :

radius +

vseg :

number of vertical segments +

hseg :

number of horizontal segments +

material :

material to use for faces +

Returns :

sphere object +
+
+
+
+ + + diff --git a/src/others/mimesh/libg3d-0.0.8/doc/api/html/libg3d-quat.html b/src/others/mimesh/libg3d-0.0.8/doc/api/html/libg3d-quat.html new file mode 100644 index 0000000..af4e6aa --- /dev/null +++ b/src/others/mimesh/libg3d-0.0.8/doc/api/html/libg3d-quat.html @@ -0,0 +1,346 @@ + + + + +quat + + + + + + + + + + + + + + + + + + + + +
+
+
+ + +
+

quat

+

quat — quaternion helpers

+
+
+

Synopsis

+
+
+#include <g3d/quat.h>
+
+typedef             G3DQuat;
+gboolean            g3d_quat_add                        (G3DQuat *qr,
+                                                         G3DQuat *q1,
+                                                         G3DQuat *q2);
+gboolean            g3d_quat_normalize                  (G3DQuat *q);
+gboolean            g3d_quat_rotate                     (G3DQuat *q,
+                                                         G3DVector *axis,
+                                                         G3DFloat angle);
+gboolean            g3d_quat_to_matrix                  (G3DQuat *q,
+                                                         G3DMatrix *matrix);
+gboolean            g3d_quat_to_rotation_xyz            (G3DQuat *q,
+                                                         G3DFloat *rx,
+                                                         G3DFloat *ry,
+                                                         G3DFloat *rz);
+gboolean            g3d_quat_trackball                  (G3DQuat *q,
+                                                         G3DFloat x1,
+                                                         G3DFloat y1,
+                                                         G3DFloat x2,
+                                                         G3DFloat y2,
+                                                         G3DFloat r);
+
+
+
+

Description

+

+

+

+ +

+
+
+

Details

+
+

G3DQuat

+
typedef G3DFloat G3DQuat;
+
+

+Quaternion element type.

+

+ +

+
+
+
+

g3d_quat_add ()

+
gboolean            g3d_quat_add                        (G3DQuat *qr,
+                                                         G3DQuat *q1,
+                                                         G3DQuat *q2);
+

+Add two quats.

+

+ +

+
++ + + + + + + + + + + + + + + + + + +

qr :

result quat +

q1 :

first quat +

q2 :

second quat +

Returns :

TRUE on success, FALSE else +
+
+
+
+

g3d_quat_normalize ()

+
gboolean            g3d_quat_normalize                  (G3DQuat *q);
+

+normalize the quaternion to a length of 1.0.

+

+ +

+
++ + + + + + + + + + +

q :

a quaternion +

Returns :

TRUE on success, FALSE else +
+
+
+
+

g3d_quat_rotate ()

+
gboolean            g3d_quat_rotate                     (G3DQuat *q,
+                                                         G3DVector *axis,
+                                                         G3DFloat angle);
+

+Encode a rotation around an axis into quaternion.

+

+ +

+
++ + + + + + + + + + + + + + + + + + +

q :

resulting quat +

axis :

rotation axis +

angle :

rotation angle +

Returns :

TRUE on success, FALSE else +
+
+
+
+

g3d_quat_to_matrix ()

+
gboolean            g3d_quat_to_matrix                  (G3DQuat *q,
+                                                         G3DMatrix *matrix);
+

+Convert a quaternion to a transformation matrix.

+

+ +

+
++ + + + + + + + + + + + + + +

q :

source quat +

matrix :

resulting matrix +

Returns :

TRUE on success, FALSE else +
+
+
+
+

g3d_quat_to_rotation_xyz ()

+
gboolean            g3d_quat_to_rotation_xyz            (G3DQuat *q,
+                                                         G3DFloat *rx,
+                                                         G3DFloat *ry,
+                                                         G3DFloat *rz);
+

+Calculate the rotation around the three coordinate axes from a given +quaternion.

+

+ +

+
++ + + + + + + + + + + + + + + + + + + + + + +

q :

a quaternion +

rx :

rotation around x axis +

ry :

rotation around y axis +

rz :

rotation around z axis +

Returns :

TRUE on success, FALSE else +
+
+
+
+

g3d_quat_trackball ()

+
gboolean            g3d_quat_trackball                  (G3DQuat *q,
+                                                         G3DFloat x1,
+                                                         G3DFloat y1,
+                                                         G3DFloat x2,
+                                                         G3DFloat y2,
+                                                         G3DFloat r);
+

+Emulate a virtual trackball movement and return rotation as quaternion. +The x and y values of the starting and end point of the movement have +to be in the range -1.0 .. 1.0.

+

+ +

+
++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

q :

resulting quaternion +

x1 :

x value of first point +

y1 :

y value of first point +

x2 :

x value of second point +

y2 :

y value of second point +

r :

radius of virtual trackball, usually 0.8 +

Returns :

TRUE on success, FALSE else +
+
+
+
+ + + diff --git a/src/others/mimesh/libg3d-0.0.8/doc/api/html/libg3d-read.html b/src/others/mimesh/libg3d-0.0.8/doc/api/html/libg3d-read.html new file mode 100644 index 0000000..b731d3c --- /dev/null +++ b/src/others/mimesh/libg3d-0.0.8/doc/api/html/libg3d-read.html @@ -0,0 +1,373 @@ + + + + +read + + + + + + + + + + + + + + + + + + + + + +
+
+
+ + +
+

read

+

read — file reading abstraction (deprecated)

+
+
+

Synopsis

+
+
+#include <g3d/read.h>
+
+gint32              g3d_read_int8                       (FILE *f);
+gint32              g3d_read_int16_be                   (FILE *f);
+gint32              g3d_read_int16_le                   (FILE *f);
+gint32              g3d_read_int32_be                   (FILE *f);
+gint32              g3d_read_int32_le                   (FILE *f);
+G3DFloat            g3d_read_float_be                   (FILE *f);
+G3DFloat            g3d_read_float_le                   (FILE *f);
+G3DDouble           g3d_read_double_be                  (FILE *f);
+G3DDouble           g3d_read_double_le                  (FILE *f);
+gint32              g3d_read_cstr                       (FILE *f,
+                                                         gchar *buffer,
+                                                         gint32 max_len);
+
+
+
+

Description

+

+The g3d_read_* family of functions is deprecated in favour of the G3DStream +interface.

+

+ +

+
+
+

Details

+
+

g3d_read_int8 ()

+
gint32              g3d_read_int8                       (FILE *f);
+

+Read a 1 byte signed integer from file.

+

+ +

+
++ + + + + + + + + + +

f :

the file to read from +

Returns :

The read value, 0 in case of error +
+
+
+
+

g3d_read_int16_be ()

+
gint32              g3d_read_int16_be                   (FILE *f);
+

+Read a 2 byte big-endian signed integer from file.

+

+ +

+
++ + + + + + + + + + +

f :

the file to read from +

Returns :

The read value, 0 in case of error +
+
+
+
+

g3d_read_int16_le ()

+
gint32              g3d_read_int16_le                   (FILE *f);
+

+Read a 2 byte little-endian signed integer from file.

+

+ +

+
++ + + + + + + + + + +

f :

the file to read from +

Returns :

The read value, 0 in case of error +
+
+
+
+

g3d_read_int32_be ()

+
gint32              g3d_read_int32_be                   (FILE *f);
+

+Read a 4 byte big-endian signed integer from file.

+

+ +

+
++ + + + + + + + + + +

f :

the file to read from +

Returns :

The read value, 0 in case of error +
+
+
+
+

g3d_read_int32_le ()

+
gint32              g3d_read_int32_le                   (FILE *f);
+

+Read a 4 byte little-endian signed integer from file.

+

+ +

+
++ + + + + + + + + + +

f :

the file to read from +

Returns :

The read value, 0 in case of error +
+
+
+
+

g3d_read_float_be ()

+
G3DFloat            g3d_read_float_be                   (FILE *f);
+

+Read a 4 byte big-endian floating point number from file.

+

+ +

+
++ + + + + + + + + + +

f :

the file to read from +

Returns :

The read value, 0 in case of error +
+
+
+
+

g3d_read_float_le ()

+
G3DFloat            g3d_read_float_le                   (FILE *f);
+

+Read a 4 byte little-endian floating point number from file.

+

+ +

+
++ + + + + + + + + + +

f :

the file to read from +

Returns :

The read value, 0 in case of error +
+
+
+
+

g3d_read_double_be ()

+
G3DDouble           g3d_read_double_be                  (FILE *f);
+

+Read a 8 byte big-endian double-precision floating point number from file.

+

+ +

+
++ + + + + + + + + + +

f :

the file to read from +

Returns :

The read value, 0 in case of error +
+
+
+
+

g3d_read_double_le ()

+
G3DDouble           g3d_read_double_le                  (FILE *f);
+

+Read a 8 byte little-endian double-precision floating point number from +file.

+

+ +

+
++ + + + + + + + + + +

f :

the file to read from +

Returns :

The read value, 0 in case of error +
+
+
+
+

g3d_read_cstr ()

+
gint32              g3d_read_cstr                       (FILE *f,
+                                                         gchar *buffer,
+                                                         gint32 max_len);
+

+Read a zero-terminated string from file.

+

+ +

+
++ + + + + + + + + + + + + + + + + + +

f :

the file to read from +

buffer :

the buffer to store line in +

max_len :

maximum length of string including termination character +

Returns :

number of bytes read from file. +
+
+
+
+

See Also

+g3d_stream_open_file +
+
+ + + diff --git a/src/others/mimesh/libg3d-0.0.8/doc/api/html/libg3d-stream.html b/src/others/mimesh/libg3d-0.0.8/doc/api/html/libg3d-stream.html new file mode 100644 index 0000000..a03c89f --- /dev/null +++ b/src/others/mimesh/libg3d-0.0.8/doc/api/html/libg3d-stream.html @@ -0,0 +1,1535 @@ + + + + +stream + + + + + + + + + + + + + + + + + + + + + +
+
+
+ + +
+

stream

+

stream — I/O abstraction layer for plugins

+
+
+

Synopsis

+
+
+#include <g3d/stream.h>
+
+                    G3DStream;
+G3DStream*          g3d_stream_open_file                (const gchar *filename,
+                                                         const gchar *mode);
+G3DStream*          g3d_stream_open_structured_file     (const gchar *filename,
+                                                         const gchar *subfile);
+G3DStream*          g3d_stream_open_structured_file_from_stream
+                                                        (G3DStream *stream,
+                                                         const gchar *subfile);
+G3DStream*          g3d_stream_open_zip                 (const gchar *filename,
+                                                         const gchar *subfile);
+G3DStream*          g3d_stream_open_zip_from_stream     (G3DStream *stream,
+                                                         const gchar *subfile);
+G3DStream*          g3d_stream_open_gzip_from_stream    (G3DStream *stream);
+G3DStream*          g3d_stream_from_buffer              (guint8 *buffer,
+                                                         gsize size,
+                                                         const gchar *title,
+                                                         gboolean free_buffer);
+G3DStream*          g3d_stream_zlib_inflate_stream      (G3DStream *stream,
+                                                         gsize cmp_size);
+G3DStream*          g3d_stream_new_custom               (guint32 flags,
+                                                         const gchar *uri,
+                                                         G3DStreamReadFunc readfunc,
+                                                         G3DStreamReadLineFunc readlinefunc,
+                                                         G3DStreamSeekFunc seekfunc,
+                                                         G3DStreamTellFunc tellfunc,
+                                                         G3DStreamSizeFunc sizefunc,
+                                                         G3DStreamEofFunc eoffunc,
+                                                         G3DStreamCloseFunc closefunc,
+                                                         gpointer data);
+gint                g3d_stream_close                    (G3DStream *stream);
+gint                g3d_stream_skip                     (G3DStream *stream,
+                                                         goffset offset);
+gint                g3d_stream_seek                     (G3DStream *stream,
+                                                         goffset offset,
+                                                         GSeekType whence);
+goffset             g3d_stream_tell                     (G3DStream *stream);
+goffset             g3d_stream_size                     (G3DStream *stream);
+gboolean            g3d_stream_eof                      (G3DStream *stream);
+gboolean            g3d_stream_is_seekable              (G3DStream *stream);
+gchar*              g3d_stream_get_uri                  (G3DStream *stream);
+guint32             g3d_stream_line                     (G3DStream *stream);
+gsize               g3d_stream_read                     (G3DStream *stream,
+                                                         gpointer ptr,
+                                                         gsize size);
+gchar*              g3d_stream_read_line                (G3DStream *stream,
+                                                         gchar *buf,
+                                                         gsize size);
+gint32              g3d_stream_read_int8                (G3DStream *stream);
+gint32              g3d_stream_read_int16_be            (G3DStream *stream);
+gint32              g3d_stream_read_int16_le            (G3DStream *stream);
+gint32              g3d_stream_read_int32_be            (G3DStream *stream);
+gint32              g3d_stream_read_int32_le            (G3DStream *stream);
+G3DFloat            g3d_stream_read_float_be            (G3DStream *stream);
+G3DFloat            g3d_stream_read_float_le            (G3DStream *stream);
+G3DDouble           g3d_stream_read_double_be           (G3DStream *stream);
+G3DDouble           g3d_stream_read_double_le           (G3DStream *stream);
+gint32              g3d_stream_read_cstr                (G3DStream *stream,
+                                                         gchar *buffer,
+                                                         gint32 max_len);
+gint                (*G3DStreamCloseFunc)               (gpointer data);
+gboolean            (*G3DStreamEofFunc)                 (gpointer data);
+gsize               (*G3DStreamReadFunc)                (gpointer ptr,
+                                                         gsize size,
+                                                         gpointer data);
+gchar*              (*G3DStreamReadLineFunc)            (gchar *buf,
+                                                         gsize size,
+                                                         gpointer data);
+gint                (*G3DStreamSeekFunc)                (gpointer data,
+                                                         goffset offset,
+                                                         GSeekType whence);
+goffset             (*G3DStreamSizeFunc)                (gpointer data);
+goffset             (*G3DStreamTellFunc)                (gpointer data);
+
+
+
+

Description

+

+A stream is an abstraction for data input. It enables plugins to read +data from a file, a memory buffer, a container file or some other medium.

+

+ +

+
+
+

Details

+
+

G3DStream

+
typedef struct {
+} G3DStream;
+
+

+An abstraction of input handling.

+

+ +

+
+
+
+

g3d_stream_open_file ()

+
G3DStream*          g3d_stream_open_file                (const gchar *filename,
+                                                         const gchar *mode);
+

+Opens a file with the C stdio routines.

+

+ +

+
++ + + + + + + + + + + + + + +

filename :

the name of the file to open +

mode :

the mode to open the file, as given to fopen() +

Returns :

a newly allocated G3DStream or NULL in case of an error. +
+
+
+
+

g3d_stream_open_structured_file ()

+
G3DStream*          g3d_stream_open_structured_file     (const gchar *filename,
+                                                         const gchar *subfile);
+

+Open a file within a Structured File as G3DStream.

+

+ +

+
++ + + + + + + + + + + + + + +

filename :

name of container file +

subfile :

name of (contained) sub-file +

Returns :

a newly allocated G3DStream or NULL in case of an error. +
+
+
+
+

g3d_stream_open_structured_file_from_stream ()

+
G3DStream*          g3d_stream_open_structured_file_from_stream
+                                                        (G3DStream *stream,
+                                                         const gchar *subfile);
+

+Open a file within a Structured File which is opened as a stream. At the +moment this only works for streams opened by g3d_stream_open_file() as +the file is directly opened again.

+

+ +

+
++ + + + + + + + + + + + + + +

stream :

stream of container file +

subfile :

name of (contained) sub-file +

Returns :

a newly allocated G3DStream or NULL in case of an error. +
+
+
+
+

g3d_stream_open_zip ()

+
G3DStream*          g3d_stream_open_zip                 (const gchar *filename,
+                                                         const gchar *subfile);
+

+Open a file within a Zip archive.

+

+ +

+
++ + + + + + + + + + + + + + +

filename :

name of container file +

subfile :

name of (contained) sub-file +

Returns :

a newly allocated G3DStream or NULL in case of an error. +
+
+
+
+

g3d_stream_open_zip_from_stream ()

+
G3DStream*          g3d_stream_open_zip_from_stream     (G3DStream *stream,
+                                                         const gchar *subfile);
+

+Open a file within a Zip archive which is opened as a stream. At the +moment this only works for streams opened by g3d_stream_open_file() as +the file is directly opened again.

+

+ +

+
++ + + + + + + + + + + + + + +

stream :

stream of container file +

subfile :

name of (contained) sub-file +

Returns :

a newly allocated G3DStream or NULL in case of an error. +
+
+
+
+

g3d_stream_open_gzip_from_stream ()

+
G3DStream*          g3d_stream_open_gzip_from_stream    (G3DStream *stream);
+

+Reads data from a gzip-compressed stream.

+

+ +

+
++ + + + + + + + + + +

stream :

stream to read from +

Returns :

a newly allocated G3DStream or NULL in case of an error. +
+
+
+
+

g3d_stream_from_buffer ()

+
G3DStream*          g3d_stream_from_buffer              (guint8 *buffer,
+                                                         gsize size,
+                                                         const gchar *title,
+                                                         gboolean free_buffer);
+

+Use a buffer in memory as G3DStream.

+

+ +

+
++ + + + + + + + + + + + + + + + + + + + + + +

buffer :

memory buffer to use +

size :

size of buffer +

title :

optional title of stream, may be NULL +

free_buffer :

whether to free the memory with g_free() on g3d_stream_close() +

Returns :

a newly allocated G3DStream or NULL in case of an error. +
+
+
+
+

g3d_stream_zlib_inflate_stream ()

+
G3DStream*          g3d_stream_zlib_inflate_stream      (G3DStream *stream,
+                                                         gsize cmp_size);
+

+Opens a new stream to decompress zlib-deflated parts of a stream.

+

+ +

+
++ + + + + + + + + + + + + + +

stream :

a parent stream +

cmp_size :

the compressed size of the deflated part +

Returns :

a newly allocated G3DStream or NULL in case of an error +
+
+
+
+

g3d_stream_new_custom ()

+
G3DStream*          g3d_stream_new_custom               (guint32 flags,
+                                                         const gchar *uri,
+                                                         G3DStreamReadFunc readfunc,
+                                                         G3DStreamReadLineFunc readlinefunc,
+                                                         G3DStreamSeekFunc seekfunc,
+                                                         G3DStreamTellFunc tellfunc,
+                                                         G3DStreamSizeFunc sizefunc,
+                                                         G3DStreamEofFunc eoffunc,
+                                                         G3DStreamCloseFunc closefunc,
+                                                         gpointer data);
+

+Creates a new G3DStream with custom callback functions.

+

+ +

+
++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

flags :

stream capability flags +

uri :

URI of new stream, must not be NULL +

readfunc :

read callback function +

readlinefunc :

read line callback function, may be NULL in which case +line reading is emulated with g3d_stream_read() +

seekfunc :

seek callback function +

tellfunc :

tell callback function +

sizefunc :

size callback function +

eoffunc :

end-of-file callback function +

closefunc :

close callback function +

data :

opaque data for all callback functions +

Returns :

a newly allocated G3DStream or NULL in case of an error. +
+
+
+
+

g3d_stream_close ()

+
gint                g3d_stream_close                    (G3DStream *stream);
+

+Closes an open stream.

+

+ +

+
++ + + + + + + + + + +

stream :

the stream +

Returns :

0 on success. +
+
+
+
+

g3d_stream_skip ()

+
gint                g3d_stream_skip                     (G3DStream *stream,
+                                                         goffset offset);
+

+Skip a number of bytes (>= 0) in stream even if it does not support +seeking.

+

+ +

+
++ + + + + + + + + + + + + + +

stream :

stream to skip bytes from +

offset :

number of bytes to skip +

Returns :

0 on success, -1 else +
+
+
+
+

g3d_stream_seek ()

+
gint                g3d_stream_seek                     (G3DStream *stream,
+                                                         goffset offset,
+                                                         GSeekType whence);
+

+Moves around the current position in the stream.

+

+ +

+
++ + + + + + + + + + + + + + + + + + +

stream :

stream to seek in +

offset :

number of bytes to seek +

whence :

seek type +

Returns :

0 on success, -1 else +
+
+
+
+

g3d_stream_tell ()

+
goffset             g3d_stream_tell                     (G3DStream *stream);
+

+Tells the current position in the stream.

+

+ +

+
++ + + + + + + + + + +

stream :

stream to get position from +

Returns :

current stream position +
+
+
+
+

g3d_stream_size ()

+
goffset             g3d_stream_size                     (G3DStream *stream);
+

+Get the size in bytes of a stream.

+

+ +

+
++ + + + + + + + + + +

stream :

stream to get size from +

Returns :

size of stream in bytes +
+
+
+
+

g3d_stream_eof ()

+
gboolean            g3d_stream_eof                      (G3DStream *stream);
+

+Checks whether the stream has reached its end.

+

+ +

+
++ + + + + + + + + + +

stream :

the stream +

Returns :

TRUE if no more data can be read, FALSE else. +
+
+
+
+

g3d_stream_is_seekable ()

+
gboolean            g3d_stream_is_seekable              (G3DStream *stream);
+

+Get information whether it is possible to seek in a stream.

+

+ +

+
++ + + + + + + + + + +

stream :

the stream +

Returns :

TRUE if seekable, FALSE else +
+
+
+
+

g3d_stream_get_uri ()

+
gchar*              g3d_stream_get_uri                  (G3DStream *stream);
+

+Get the URI of a stream

+

+ +

+
++ + + + + + + + + + +

stream :

the stream +

Returns :

a non-NULL, zero-terminated string containing the URI of the +string. This return value should not be freed. +
+
+
+
+

g3d_stream_line ()

+
guint32             g3d_stream_line                     (G3DStream *stream);
+

+Get the current line number from stream. This only works if line are +consequently read with g3d_stream_read_line(), so it's only applicable +for text streams.

+

+ +

+
++ + + + + + + + + + +

stream :

stream to get line from +

Returns :

current line number, may be 0 +
+
+
+
+

g3d_stream_read ()

+
gsize               g3d_stream_read                     (G3DStream *stream,
+                                                         gpointer ptr,
+                                                         gsize size);
+

+Reads a number of bytes from the stream.

+

+ +

+
++ + + + + + + + + + + + + + + + + + +

stream :

the stream to read from +

ptr :

pointer to memory storage +

size :

number of bytes to read +

Returns :

number of bytes successfully read. +
+
+
+
+

g3d_stream_read_line ()

+
gchar*              g3d_stream_read_line                (G3DStream *stream,
+                                                         gchar *buf,
+                                                         gsize size);
+

+Read a line (terminated by a newline character or end of file) from a +stream.

+

+ +

+
++ + + + + + + + + + + + + + + + + + +

stream :

stream to read a line from +

buf :

an allocated buffer to be filled +

size :

maximum length of line including terminating zero +

Returns :

the read line or NULL in case of an error. +
+
+
+
+

g3d_stream_read_int8 ()

+
gint32              g3d_stream_read_int8                (G3DStream *stream);
+

+Read a 1 byte signed integer from file.

+

+ +

+
++ + + + + + + + + + +

stream :

the stream to read from +

Returns :

The read value, 0 in case of error +
+
+
+
+

g3d_stream_read_int16_be ()

+
gint32              g3d_stream_read_int16_be            (G3DStream *stream);
+

+Read a 2 byte big-endian signed integer from file.

+

+ +

+
++ + + + + + + + + + +

stream :

the stream to read from +

Returns :

The read value, 0 in case of error +
+
+
+
+

g3d_stream_read_int16_le ()

+
gint32              g3d_stream_read_int16_le            (G3DStream *stream);
+

+Read a 2 byte little-endian signed integer from file.

+

+ +

+
++ + + + + + + + + + +

stream :

the stream to read from +

Returns :

The read value, 0 in case of error +
+
+
+
+

g3d_stream_read_int32_be ()

+
gint32              g3d_stream_read_int32_be            (G3DStream *stream);
+

+Read a 4 byte big-endian signed integer from file.

+

+ +

+
++ + + + + + + + + + +

stream :

the stream to read from +

Returns :

The read value, 0 in case of error +
+
+
+
+

g3d_stream_read_int32_le ()

+
gint32              g3d_stream_read_int32_le            (G3DStream *stream);
+

+Read a 4 byte little-endian signed integer from file.

+

+ +

+
++ + + + + + + + + + +

stream :

the stream to read from +

Returns :

The read value, 0 in case of error +
+
+
+
+

g3d_stream_read_float_be ()

+
G3DFloat            g3d_stream_read_float_be            (G3DStream *stream);
+

+Read a 4 byte big-endian floating point number from file.

+

+ +

+
++ + + + + + + + + + +

stream :

the stream to read from +

Returns :

The read value, 0 in case of error +
+
+
+
+

g3d_stream_read_float_le ()

+
G3DFloat            g3d_stream_read_float_le            (G3DStream *stream);
+

+Read a 4 byte little-endian floating point number from file.

+

+ +

+
++ + + + + + + + + + +

stream :

the stream to read from +

Returns :

The read value, 0 in case of error +
+
+
+
+

g3d_stream_read_double_be ()

+
G3DDouble           g3d_stream_read_double_be           (G3DStream *stream);
+

+Read a 8 byte big-endian double-precision floating point number from file.

+

+ +

+
++ + + + + + + + + + +

stream :

the stream to read from +

Returns :

The read value, 0 in case of error +
+
+
+
+

g3d_stream_read_double_le ()

+
G3DDouble           g3d_stream_read_double_le           (G3DStream *stream);
+

+Read a 8 byte little-endian double-precision floating point number from +file.

+

+ +

+
++ + + + + + + + + + +

stream :

the stream to read from +

Returns :

The read value, 0 in case of error +
+
+
+
+

g3d_stream_read_cstr ()

+
gint32              g3d_stream_read_cstr                (G3DStream *stream,
+                                                         gchar *buffer,
+                                                         gint32 max_len);
+

+Read a string (terminated by '\0') from stream

+

+ +

+
++ + + + + + + + + + + + + + + + + + +

stream :

the stream to read from +

buffer :

the buffer to fill +

max_len :

maximum number to read from stream +

Returns :

number of bytes read from stream +
+
+
+
+

G3DStreamCloseFunc ()

+
gint                (*G3DStreamCloseFunc)               (gpointer data);
+

+Callback function for g3d_stream_close().

+

+ +

+
++ + + + + + + + + + +

data :

opaque stream data +

Returns :

0 on success, -1 else. +
+
+
+
+

G3DStreamEofFunc ()

+
gboolean            (*G3DStreamEofFunc)                 (gpointer data);
+

+Callback function for g3d_stream_eof().

+

+ +

+
++ + + + + + + + + + +

data :

opaque stream data +

Returns :

TRUE on stream end-of-file, FALSE else. +
+
+
+
+

G3DStreamReadFunc ()

+
gsize               (*G3DStreamReadFunc)                (gpointer ptr,
+                                                         gsize size,
+                                                         gpointer data);
+

+Callback function for g3d_stream_read().

+

+ +

+
++ + + + + + + + + + + + + + + + + + +

ptr :

buffer to read bytes into +

size :

number of bytes to read +

data :

opaque stream data +

Returns :

number of bytes actually read. +
+
+
+
+

G3DStreamReadLineFunc ()

+
gchar*              (*G3DStreamReadLineFunc)            (gchar *buf,
+                                                         gsize size,
+                                                         gpointer data);
+

+Callback function for g3d_stream_read_line().

+

+ +

+
++ + + + + + + + + + + + + + + + + + +

buf :

buffer to read bytes into +

size :

maximum size of buffer +

data :

opaque stream data +

Returns :

The line buffer or NULL in case of an error. +
+
+
+
+

G3DStreamSeekFunc ()

+
gint                (*G3DStreamSeekFunc)                (gpointer data,
+                                                         goffset offset,
+                                                         GSeekType whence);
+

+Callback function for g3d_stream_seek().

+

+ +

+
++ + + + + + + + + + + + + + + + + + +

data :

opaque stream data +

offset :

seek offset +

whence :

seek type +

Returns :

0 on success, -1 else. +
+
+
+
+

G3DStreamSizeFunc ()

+
goffset             (*G3DStreamSizeFunc)                (gpointer data);
+

+Callback function for g3d_stream_size().

+

+ +

+
++ + + + + + + + + + +

data :

opaque stream data +

Returns :

size of stream. +
+
+
+
+

G3DStreamTellFunc ()

+
goffset             (*G3DStreamTellFunc)                (gpointer data);
+

+Callback function for g3d_stream_tell().

+

+ +

+
++ + + + + + + + + + +

data :

opaque stream data +

Returns :

current stream position. +
+
+
+
+

See Also

+G3DStream +
+
+ + + diff --git a/src/others/mimesh/libg3d-0.0.8/doc/api/html/libg3d-texture.html b/src/others/mimesh/libg3d-0.0.8/doc/api/html/libg3d-texture.html new file mode 100644 index 0000000..9caa7da --- /dev/null +++ b/src/others/mimesh/libg3d-0.0.8/doc/api/html/libg3d-texture.html @@ -0,0 +1,455 @@ + + + + +texture + + + + + + + + + + + + + + + + + + + + + +
+
+
+ + +
+

texture

+

texture — Texture loading and manipulation

+
+
+

Synopsis

+
+
+#include <g3d/texture.h>
+
+#define             G3D_FLAG_IMG_GREYSCALE
+enum                G3DTexEnv;
+                    G3DImage;
+G3DImage*           g3d_texture_load_cached             (G3DContext *context,
+                                                         G3DModel *model,
+                                                         const gchar *filename);
+G3DImage*           g3d_texture_load_from_stream        (G3DContext *context,
+                                                         G3DModel *model,
+                                                         G3DStream *stream);
+G3DImage*           g3d_texture_load                    (G3DContext *context,
+                                                         const gchar *filename);
+void                g3d_texture_free                    (G3DImage *texture);
+gboolean            g3d_texture_prepare                 (G3DImage *texture);
+gboolean            g3d_texture_flip_y                  (G3DImage *texture);
+G3DImage*           g3d_texture_merge_alpha             (G3DImage *image,
+                                                         G3DImage *aimage);
+
+
+
+

Description

+

+A texture is an image used in materials. Here are some helper functions, +mostly for cached loading of a G3DImage.

+

+ +

+
+
+

Details

+
+

G3D_FLAG_IMG_GREYSCALE

+
#define G3D_FLAG_IMG_GREYSCALE       (1L << 1)
+
+

+The image just uses the red channel for grey value

+

+ +

+
+
+
+

enum G3DTexEnv

+
typedef enum {
+	G3D_TEXENV_UNSPECIFIED = 0,
+	G3D_TEXENV_BLEND,
+	G3D_TEXENV_DECAL,
+	G3D_TEXENV_MODULATE,
+	G3D_TEXENV_REPLACE
+} G3DTexEnv;
+
+

+Specify how the texture should interact with other material properties.

+

+ +

+
++ + + + + + + + + + + + + + + + + + + + + + +

G3D_TEXENV_UNSPECIFIED

unspecified, application decides +

G3D_TEXENV_BLEND

use blending +

G3D_TEXENV_DECAL

use as decal +

G3D_TEXENV_MODULATE

use modulate +

G3D_TEXENV_REPLACE

replace color +
+
+
+
+

G3DImage

+
typedef struct {
+	gchar *name;
+	guint32 width;
+	guint32 height;
+	guint8 depth;
+	guint32 flags;
+	guint8 *pixeldata;
+
+	guint32 tex_id;
+	G3DTexEnv tex_env;
+	G3DFloat tex_scale_u;
+	G3DFloat tex_scale_v;
+} G3DImage;
+
+

+Object containing a two-dimensional pixel image.

+

+ +

+
++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

gchar *name;

name of image +

guint32 width;

width of image in pixels +

guint32 height;

height of image in pixels +

guint8 depth;

depth of image in bits +

guint32 flags;

flags +

guint8 *pixeldata;

the binary image data +

guint32 tex_id;

the OpenGL texture id, should be unique model-wide +

G3DTexEnv tex_env;

texture environment flags +

G3DFloat tex_scale_u;

factor scaling texture width, should be 1.0 for most cases +

G3DFloat tex_scale_v;

factor scaling texture height, should be 1.0 for most cases +
+
+
+
+

g3d_texture_load_cached ()

+
G3DImage*           g3d_texture_load_cached             (G3DContext *context,
+                                                         G3DModel *model,
+                                                         const gchar *filename);
+

+Loads a texture image from file and attaches it to a hash table in the +model. On a second try to load this texture it is returned from cache.

+

+ +

+
++ + + + + + + + + + + + + + + + + + +

context :

a valid context +

model :

a valid model +

filename :

the file name of the texture to load +

Returns :

the texture image +
+
+
+
+

g3d_texture_load_from_stream ()

+
G3DImage*           g3d_texture_load_from_stream        (G3DContext *context,
+                                                         G3DModel *model,
+                                                         G3DStream *stream);
+

+Load a texture image from a stream. The file type is determined by the +extension of the stream URI, so it should be valid. If model is not NULL +the texture image is cached (or retrieved from cache if available).

+

+ +

+
++ + + + + + + + + + + + + + + + + + +

context :

a valid context +

model :

a valid model or NULL +

stream :

an open stream +

Returns :

the texture image or NULL in case of an error. +
+
+
+
+

g3d_texture_load ()

+
G3DImage*           g3d_texture_load                    (G3DContext *context,
+                                                         const gchar *filename);
+

+Load a texture from a file. The type of file is determined by the file +extension.

+

+ +

+
++ + + + + + + + + + + + + + +

context :

a valid context +

filename :

the file name of the texture +

Returns :

the texture image or NULL in case of an error. +
+
+
+
+

g3d_texture_free ()

+
void                g3d_texture_free                    (G3DImage *texture);
+

+Frees all memory used by this texture image.

+

+ +

+
++ + + + +

texture :

a texture image +
+
+
+
+

g3d_texture_prepare ()

+
gboolean            g3d_texture_prepare                 (G3DImage *texture);
+

+Resizes the image to dimensions which are a power of 2 to be +usable as an OpenGL texture. +(FIXME: unimplemented)

+

+ +

+
++ + + + + + + + + + +

texture :

a texture image +

Returns :

TRUE on success, FALSE else +
+
+
+
+

g3d_texture_flip_y ()

+
gboolean            g3d_texture_flip_y                  (G3DImage *texture);
+

+Mirror the image along the x axis - all y coordinates are inverted.

+

+ +

+
++ + + + + + + + + + +

texture :

a texture image +

Returns :

TRUE on success, FALSE on error. +
+
+
+
+

g3d_texture_merge_alpha ()

+
G3DImage*           g3d_texture_merge_alpha             (G3DImage *image,
+                                                         G3DImage *aimage);
+

+Merges alpha information from aimage into output image. If image is NULL a +new image is created, else image is returned with alpha from aimage.

+

+ +

+
++ + + + + + + + + + + + + + +

image :

a texture image or NULL +

aimage :

an image with alpha information +

Returns :

a texture image or NULL in case of an error. +
+
+
+
+ + + diff --git a/src/others/mimesh/libg3d-0.0.8/doc/api/html/libg3d-types.html b/src/others/mimesh/libg3d-0.0.8/doc/api/html/libg3d-types.html new file mode 100644 index 0000000..b7f076d --- /dev/null +++ b/src/others/mimesh/libg3d-0.0.8/doc/api/html/libg3d-types.html @@ -0,0 +1,109 @@ + + + + +types + + + + + + + + + + + + + + + + + + + + + +
+
+
+ + +
+

types

+

types — Basic types

+
+
+

Synopsis

+
+
+#include <g3d/types.h>
+
+typedef             G3DSingle;
+typedef             G3DDouble;
+typedef             G3DFloat;
+#define             G3D_FLOAT_IS_DOUBLE
+
+
+
+

Description

+

+Some basic type abstractions used in libg3d.

+

+ +

+
+
+

Details

+
+

G3DSingle

+
typedef gfloat G3DSingle;
+
+

+Single-precision floating point number.

+

+ +

+
+
+
+

G3DDouble

+
typedef gdouble G3DDouble;
+
+

+Double-precision floating point number.

+

+ +

+
+
+
+

G3DFloat

+

+Default floating point type. If used consistently in the library (not the +case at the moment) this type can be switched between single and double +precision at compile-time.

+

+ +

+
+
+
+

G3D_FLOAT_IS_DOUBLE

+
#define             G3D_FLOAT_IS_DOUBLE
+

+A flag indicating type of G3DFloat. It is TRUE if G3DFloat is double and +FALSE if G3DFloat is single precision.

+

+ +

+
+
+
+ + + diff --git a/src/others/mimesh/libg3d-0.0.8/doc/api/html/libg3d-vector.html b/src/others/mimesh/libg3d-0.0.8/doc/api/html/libg3d-vector.html new file mode 100644 index 0000000..7c2ed8f --- /dev/null +++ b/src/others/mimesh/libg3d-0.0.8/doc/api/html/libg3d-vector.html @@ -0,0 +1,266 @@ + + + + +vector + + + + + + + + + + + + + + + + + + + + + +
+
+
+ + +
+

vector

+

vector — Vector manipulation and calculation

+
+
+

Synopsis

+
+
+#include <g3d/vector.h>
+
+typedef             G3DVector;
+gboolean            g3d_vector_normal                   (G3DFloat ax,
+                                                         G3DFloat ay,
+                                                         G3DFloat az,
+                                                         G3DFloat bx,
+                                                         G3DFloat by,
+                                                         G3DFloat bz,
+                                                         G3DFloat *nx,
+                                                         G3DFloat *ny,
+                                                         G3DFloat *nz);
+gboolean            g3d_vector_unify                    (G3DFloat *nx,
+                                                         G3DFloat *ny,
+                                                         G3DFloat *nz);
+gboolean            g3d_vector_transform                (G3DFloat *x,
+                                                         G3DFloat *y,
+                                                         G3DFloat *z,
+                                                         G3DMatrix *matrix);
+
+
+
+

Description

+

+A vector is a one-dimensional array of floating point data. +

+

+Declare it as statically as: +

+

+G3DVector vector[3]; +

+

+or allocate it dynamically with: +

+

+G3DVector *vector = g3d_vector_new(3, 1);

+

+ +

+
+
+

Details

+
+

G3DVector

+
typedef G3DFloat G3DVector;
+
+

+Vector element type.

+

+ +

+
+
+
+

g3d_vector_normal ()

+
gboolean            g3d_vector_normal                   (G3DFloat ax,
+                                                         G3DFloat ay,
+                                                         G3DFloat az,
+                                                         G3DFloat bx,
+                                                         G3DFloat by,
+                                                         G3DFloat bz,
+                                                         G3DFloat *nx,
+                                                         G3DFloat *ny,
+                                                         G3DFloat *nz);
+

+calculate the normal from a plane defined by two vectors

+

+ +

+
++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

ax :

x component first vector +

ay :

y component first vector +

az :

z component first vector +

bx :

x component second vector +

by :

y component second vector +

bz :

z component second vector +

nx :

x component resulting normal +

ny :

y component resulting normal +

nz :

z component resulting normal +

Returns :

TRUE on success, FALSE else +
+
+
+
+

g3d_vector_unify ()

+
gboolean            g3d_vector_unify                    (G3DFloat *nx,
+                                                         G3DFloat *ny,
+                                                         G3DFloat *nz);
+

+Transforms the given vector to the unit vector.

+

+ +

+
++ + + + + + + + + + + + + + + + + + +

nx :

x component of vector +

ny :

y component of vector +

nz :

z component of vector +

Returns :

TRUE on success, FALSE else +
+
+
+
+

g3d_vector_transform ()

+
gboolean            g3d_vector_transform                (G3DFloat *x,
+                                                         G3DFloat *y,
+                                                         G3DFloat *z,
+                                                         G3DMatrix *matrix);
+

+Transforms the given vector corresponding to the given matrix

+

+ +

+
++ + + + + + + + + + + + + + + + + + + + + + +

x :

x component of vector +

y :

y component of vector +

z :

z component of vector +

matrix :

transformation matrix (4x4) +

Returns :

TRUE on success, FALSE else +
+
+
+
+ + + diff --git a/src/others/mimesh/libg3d-0.0.8/doc/api/html/libg3d.devhelp b/src/others/mimesh/libg3d-0.0.8/doc/api/html/libg3d.devhelp new file mode 100644 index 0000000..4d1df55 --- /dev/null +++ b/src/others/mimesh/libg3d-0.0.8/doc/api/html/libg3d.devhelp @@ -0,0 +1,204 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/others/mimesh/libg3d-0.0.8/doc/api/html/libg3d.devhelp2 b/src/others/mimesh/libg3d-0.0.8/doc/api/html/libg3d.devhelp2 new file mode 100644 index 0000000..07a1733 --- /dev/null +++ b/src/others/mimesh/libg3d-0.0.8/doc/api/html/libg3d.devhelp2 @@ -0,0 +1,204 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/others/mimesh/libg3d-0.0.8/doc/api/html/right.png b/src/others/mimesh/libg3d-0.0.8/doc/api/html/right.png new file mode 100644 index 0000000..92832e3 Binary files /dev/null and b/src/others/mimesh/libg3d-0.0.8/doc/api/html/right.png differ diff --git a/src/others/mimesh/libg3d-0.0.8/doc/api/html/style.css b/src/others/mimesh/libg3d-0.0.8/doc/api/html/style.css new file mode 100644 index 0000000..4c57e41 --- /dev/null +++ b/src/others/mimesh/libg3d-0.0.8/doc/api/html/style.css @@ -0,0 +1,160 @@ +.synopsis, .classsynopsis +{ + background: #eeeeee; + border: solid 1px #aaaaaa; + padding: 0.5em; +} +.programlisting +{ + background: #eeeeff; + border: solid 1px #aaaaff; + padding: 0.5em; +} +.variablelist +{ + padding: 4px; + margin-left: 3em; +} +.variablelist td:first-child +{ + vertical-align: top; +} + +/* this is needed so that the local anchors are displayed below the naviagtion */ +@media screen { + sup a.footnote + { + position: relative; + top: 0em ! important; + } + div.refnamediv a[name], div.refsect1 a[name] + { + position: relative; + top: -4.5em; + } + table.navigation#top + { + background: #ffeeee; + border: solid 1px #ffaaaa; + margin-top: 0; + margin-bottom: 0; + position: fixed; + top: 0; + left: 0; + height: 2em; + z-index: 1; + } + .navigation a + { + color: #770000; + } + .navigation a:visited + { + color: #550000; + } + td.shortcuts + { + color: #770000; + font-size: 80%; + } + div.refentry, div.chapter, div.reference, div.part, div.book, div.index, div.glossary, div.sect1, div.appendix, div.preface + { + position: relative; + top: 3em; + z-index: 0; + } + div.refnamediv + { + margin-top: 2em; + } + body + { + padding-bottom: 20em; + } +} +@media print { + table.navigation { + visibility: collapse; + display: none; + } + div.titlepage table.navigation { + visibility: visible; + display: table; + background: #ffeeee; + border: solid 1px #ffaaaa; + margin-top: 0; + margin-bottom: 0; + top: 0; + left: 0; + height: 2em; + } +} + +.navigation .title +{ + font-size: 200%; +} + + +div.gallery-float +{ + float: left; + padding: 10px; +} +div.gallery-float img +{ + border-style: none; +} +div.gallery-spacer +{ + clear: both; +} +a +{ + text-decoration: none; +} +a:hover +{ + text-decoration: underline; + color: #FF0000; +} + +div.table table +{ + border-collapse: collapse; + border-spacing: 0px; + border-style: solid; + border-color: #777777; + border-width: 1px; +} + +div.table table td, div.table table th +{ + border-style: solid; + border-color: #777777; + border-width: 1px; + padding: 3px; + vertical-align: top; +} + +div.table table th +{ + background-color: #eeeeee; +} + +hr +{ + color: #777777; + background: #777777; + border: 0; + height: 1px; + clear: both; +} + +.footer +{ + padding-top: 3.5em; + color: #777777; + text-align: center; + font-size: 80%; +} diff --git a/src/others/mimesh/libg3d-0.0.8/doc/api/html/up.png b/src/others/mimesh/libg3d-0.0.8/doc/api/html/up.png new file mode 100644 index 0000000..85b3e2a Binary files /dev/null and b/src/others/mimesh/libg3d-0.0.8/doc/api/html/up.png differ diff --git a/src/others/mimesh/libg3d-0.0.8/doc/api/libg3d-docs.sgml b/src/others/mimesh/libg3d-0.0.8/doc/api/libg3d-docs.sgml new file mode 100644 index 0000000..0af9198 --- /dev/null +++ b/src/others/mimesh/libg3d-0.0.8/doc/api/libg3d-docs.sgml @@ -0,0 +1,35 @@ + + + + + libg3d Reference Manual + + for libg3d 0.0.7 + The latest version of this documentation can be found on-line at + http://automagically.de/libg3d/. + + + + + Application interface + + + + + + + + + + Plugin interface + + + + + + + + + + diff --git a/src/others/mimesh/libg3d-0.0.8/doc/api/libg3d-overrides.txt b/src/others/mimesh/libg3d-0.0.8/doc/api/libg3d-overrides.txt new file mode 100644 index 0000000..e69de29 diff --git a/src/others/mimesh/libg3d-0.0.8/doc/api/libg3d-sections.txt b/src/others/mimesh/libg3d-0.0.8/doc/api/libg3d-sections.txt new file mode 100644 index 0000000..a7f6fae --- /dev/null +++ b/src/others/mimesh/libg3d-0.0.8/doc/api/libg3d-sections.txt @@ -0,0 +1,256 @@ +
+types +G3DSingle +G3DDouble +G3DFloat +G3D_FLOAT_IS_DOUBLE +
+ +
+context +G3DContext +g3d_context_new +g3d_context_free + +G3DSetBgColorFunc +G3DUpdateInterfaceFunc +G3DUpdateProgressBarFunc + +g3d_context_update_interface +g3d_context_set_update_interface_func + +g3d_context_update_progress_bar +g3d_context_set_update_progress_bar_func + +g3d_context_set_bgcolor +g3d_context_set_set_bgcolor_func +
+ +
+model +G3D_MODEL_CENTER +G3D_MODEL_NOCHECK +G3D_MODEL_OPTIMIZE +G3D_MODEL_SCALE +G3DModel +g3d_model_new +g3d_model_load +g3d_model_load_full +g3d_model_check +g3d_model_center +g3d_model_transform +g3d_model_clear +g3d_model_free +g3d_model_get_object_by_name +
+ +
+object +G3DObject +G3DTransformation +g3d_object_free +g3d_object_radius +g3d_object_scale +g3d_object_transform +g3d_object_transform_normals +g3d_object_duplicate +g3d_object_optimize +g3d_object_smooth +g3d_object_merge +
+ +
+face +G3D_FLAG_MAT_TWOSIDE +G3D_FLAG_FAC_NORMALS +G3D_FLAG_FAC_TEXMAP +G3DFace +g3d_face_new_tri +g3d_face_get_normal +g3d_face_free +
+ +
+material +G3DMaterial +g3d_material_new +g3d_material_free +
+ +
+texture +G3D_FLAG_IMG_GREYSCALE +G3DTexEnv +G3DImage + +g3d_texture_load_cached +g3d_texture_load_from_stream +g3d_texture_load +g3d_texture_free +g3d_texture_prepare +g3d_texture_flip_y +g3d_texture_merge_alpha +
+ +
+plugins +G3DPluginType +G3DPluginInitFunc +G3DPluginCleanupFunc +G3DPluginLoadModelFunc +G3DPluginLoadModelFromStreamFunc +G3DPluginLoadImageFunc +G3DPluginLoadImageStreamFunc +G3DPluginGetDescFunc +G3DPluginGetExtFunc +G3DPlugin + +g3d_plugins_init +g3d_plugins_cleanup + +g3d_plugins_load_model +g3d_plugins_load_model_from_stream +g3d_plugins_load_image +g3d_plugins_load_image_from_stream + +g3d_plugins_get_image_extensions +
+ +
+stream +G3DStream + +g3d_stream_open_file +g3d_stream_open_structured_file +g3d_stream_open_structured_file_from_stream +g3d_stream_open_zip +g3d_stream_open_zip_from_stream +g3d_stream_open_gzip_from_stream +g3d_stream_from_buffer +g3d_stream_zlib_inflate_stream +g3d_stream_new_custom + +g3d_stream_close +g3d_stream_skip +g3d_stream_seek +g3d_stream_tell +g3d_stream_size +g3d_stream_eof +g3d_stream_is_seekable +g3d_stream_get_uri +g3d_stream_line + +g3d_stream_read +g3d_stream_read_line +g3d_stream_read_int8 +g3d_stream_read_int16_be +g3d_stream_read_int16_le +g3d_stream_read_int32_be +g3d_stream_read_int32_le +g3d_stream_read_float_be +g3d_stream_read_float_le +g3d_stream_read_double_be +g3d_stream_read_double_le +g3d_stream_read_cstr + +G3DStreamCloseFunc +G3DStreamEofFunc +G3DStreamReadFunc +G3DStreamReadLineFunc +G3DStreamSeekFunc +G3DStreamSizeFunc +G3DStreamTellFunc +
+ +
+iff +G3D_IFF_PAD1 +G3D_IFF_PAD2 +G3D_IFF_PAD4 +G3D_IFF_PAD8 +G3D_IFF_LE +G3D_IFF_LEN16 +G3D_IFF_SUBCHUNK_LEN16 +G3D_IFF_MKID + +g3d_iff_check +g3d_iff_read_chunk +g3d_iff_handle_chunk +g3d_iff_chunk_matches +g3d_iff_read_ctnr +g3d_iff_id_to_text + +g3d_iff_open +g3d_iff_readchunk + +G3DIffChunkCallback +g3d_iff_chunk_callback +G3DIffChunkInfo +g3d_iff_chunk_info +G3DIffGlobal +g3d_iff_gdata +G3DIffLocal +g3d_iff_ldata +
+ +
+read +g3d_read_int8 +g3d_read_int16_be +g3d_read_int16_le +g3d_read_int32_be +g3d_read_int32_le +g3d_read_float_be +g3d_read_float_le +g3d_read_double_be +g3d_read_double_le +g3d_read_cstr +
+ +
+primitive +g3d_primitive_cube +g3d_primitive_box +g3d_primitive_box_strip_2d +g3d_primitive_mesh +g3d_primitive_cylinder +g3d_primitive_tube +g3d_primitive_sphere +
+ +
+matrix +G3DMatrix +g3d_matrix_new +g3d_matrix_free +g3d_matrix_identity +g3d_matrix_multiply +g3d_matrix_translate +g3d_matrix_rotate +g3d_matrix_rotate_xyz +g3d_matrix_scale +g3d_matrix_transpose +g3d_matrix_determinant +g3d_matrix_dump +
+ +
+vector +G3DVector +g3d_vector_new +g3d_vector_free +g3d_vector_normal +g3d_vector_unify +g3d_vector_transform +
+ +
+quat +G3DQuat +g3d_quat_add +g3d_quat_normalize +g3d_quat_rotate +g3d_quat_to_matrix +g3d_quat_to_rotation_xyz +g3d_quat_trackball +
diff --git a/src/others/mimesh/libg3d-0.0.8/doc/api/libg3d.types b/src/others/mimesh/libg3d-0.0.8/doc/api/libg3d.types new file mode 100644 index 0000000..d3585f4 --- /dev/null +++ b/src/others/mimesh/libg3d-0.0.8/doc/api/libg3d.types @@ -0,0 +1,2 @@ +#include +#include diff --git a/src/others/mimesh/libg3d-0.0.8/doc/api/tmpl/context.sgml b/src/others/mimesh/libg3d-0.0.8/doc/api/tmpl/context.sgml new file mode 100644 index 0000000..5f6a3cc --- /dev/null +++ b/src/others/mimesh/libg3d-0.0.8/doc/api/tmpl/context.sgml @@ -0,0 +1,137 @@ + +context + + + + + + + + + + + + + + + + + + + + + + + + + + + + +@Returns: + + + + + + + +@context: + + + + + + + +@r: +@g: +@b: +@a: +@user_data: +@Returns: + + + + + + + +@user_data: +@Returns: + + + + + + + +@percentage: +@show: +@user_data: +@Returns: + + + + + + + +@context: +@Returns: + + + + + + + +@context: +@func: +@user_data: + + + + + + + +@context: +@percentage: +@visibility: +@Returns: + + + + + + + +@context: +@func: +@user_data: + + + + + + + +@context: +@r: +@g: +@b: +@a: +@Returns: + + + + + + + +@context: +@func: +@user_data: + + diff --git a/src/others/mimesh/libg3d-0.0.8/doc/api/tmpl/face.sgml b/src/others/mimesh/libg3d-0.0.8/doc/api/tmpl/face.sgml new file mode 100644 index 0000000..6d31806 --- /dev/null +++ b/src/others/mimesh/libg3d-0.0.8/doc/api/tmpl/face.sgml @@ -0,0 +1,75 @@ + +face + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +@vertex_count: +@vertex_indices: +@material: +@flags: +@normals: +@tex_image: +@tex_vertex_count: +@tex_vertex_data: + + + + + + +@face: +@object: +@nx: +@ny: +@nz: +@Returns: + + + + + + + +@face: + + diff --git a/src/others/mimesh/libg3d-0.0.8/doc/api/tmpl/iff.sgml b/src/others/mimesh/libg3d-0.0.8/doc/api/tmpl/iff.sgml new file mode 100644 index 0000000..38fb1cb --- /dev/null +++ b/src/others/mimesh/libg3d-0.0.8/doc/api/tmpl/iff.sgml @@ -0,0 +1,242 @@ + +iff + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +@a: +@b: +@c: +@d: + + + + + + + +@stream: +@id: +@len: +@Returns: + + + + + + + +@stream: +@id: +@len: +@flags: +@Returns: + + + + + + + +@global: +@plocal: +@chunks: +@flags: +@Returns: + + + + + + + +@id: +@tid: +@Returns: + + + + + + + +@global: +@local: +@chunks: +@flags: +@Returns: + + + + + + + +@id: +@Returns: + + + + + + + +@filename: +@id: +@len: +@Returns: + + + + + + + +@f: +@id: +@len: +@flags: +@Returns: + + + + + + + +@global: +@local: +@Returns: + + + + + + + + + + + + + + +@id: +@description: +@container: +@callback: + + + + + + + + + + + + + +@context: +@model: +@stream: +@flags: +@user_data: +@f: +@max_fpos: + + + + + + + + + + + + + +@id: +@parent_id: +@object: +@level: +@level_object: +@nb: +@finalize: + + + + + + + + diff --git a/src/others/mimesh/libg3d-0.0.8/doc/api/tmpl/libg3d-unused.sgml b/src/others/mimesh/libg3d-0.0.8/doc/api/tmpl/libg3d-unused.sgml new file mode 100644 index 0000000..e69de29 diff --git a/src/others/mimesh/libg3d-0.0.8/doc/api/tmpl/material.sgml b/src/others/mimesh/libg3d-0.0.8/doc/api/tmpl/material.sgml new file mode 100644 index 0000000..926d72d --- /dev/null +++ b/src/others/mimesh/libg3d-0.0.8/doc/api/tmpl/material.sgml @@ -0,0 +1,50 @@ + +material + + + + + + + + + + + + + + + + + + + + + + +@name: +@r: +@g: +@b: +@a: +@shininess: +@specular: +@flags: +@tex_image: + + + + + + +@Returns: + + + + + + + +@material: + + diff --git a/src/others/mimesh/libg3d-0.0.8/doc/api/tmpl/matrix.sgml b/src/others/mimesh/libg3d-0.0.8/doc/api/tmpl/matrix.sgml new file mode 100644 index 0000000..1ecdbed --- /dev/null +++ b/src/others/mimesh/libg3d-0.0.8/doc/api/tmpl/matrix.sgml @@ -0,0 +1,121 @@ + +matrix + + + + + + + + + + + + + + + + + + + + + + + + + + + + +@matrix: +@Returns: + + + + + + + +@m1: +@m2: +@rm: +@Returns: + + + + + + + +@x: +@y: +@z: +@rm: +@Returns: + + + + + + + +@angle: +@ax: +@ay: +@az: +@rm: +@Returns: + + + + + + + +@rx: +@ry: +@rz: +@rm: +@Returns: + + + + + + + +@x: +@y: +@z: +@rm: +@Returns: + + + + + + + +@matrix: +@Returns: + + + + + + + +@matrix: +@Returns: + + + + + + + +@matrix: +@Returns: + + diff --git a/src/others/mimesh/libg3d-0.0.8/doc/api/tmpl/model.sgml b/src/others/mimesh/libg3d-0.0.8/doc/api/tmpl/model.sgml new file mode 100644 index 0000000..067ba2a --- /dev/null +++ b/src/others/mimesh/libg3d-0.0.8/doc/api/tmpl/model.sgml @@ -0,0 +1,139 @@ + +model + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +@filename: +@materials: +@objects: + + + + + + +@Returns: + + + + + + + +@context: +@filename: +@Returns: + + + + + + + +@context: +@filename: +@flags: +@Returns: + + + + + + + +@model: +@Returns: + + + + + + + +@model: +@Returns: + + + + + + + +@model: +@matrix: +@Returns: + + + + + + + +@model: + + + + + + + +@model: + + + + + + + +@model: +@name: +@Returns: + + diff --git a/src/others/mimesh/libg3d-0.0.8/doc/api/tmpl/object.sgml b/src/others/mimesh/libg3d-0.0.8/doc/api/tmpl/object.sgml new file mode 100644 index 0000000..84f920d --- /dev/null +++ b/src/others/mimesh/libg3d-0.0.8/doc/api/tmpl/object.sgml @@ -0,0 +1,125 @@ + +object + + + + + + + + + + + + + + + + + + + + + + +@name: +@materials: +@faces: +@objects: +@transformation: +@hide: +@vertex_count: +@vertex_data: + + + + + + +@matrix: +@flags: + + + + + + +@object: + + + + + + + +@object: +@Returns: + + + + + + + +@object: +@scale: +@Returns: + + + + + + + +@object: +@matrix: +@Returns: + + + + + + + +@object: +@matrix: +@Returns: + + + + + + + +@object: +@Returns: + + + + + + + +@object: +@Returns: + + + + + + + +@object: +@Returns: + + + + + + + +@o1: +@o2: +@Returns: + + diff --git a/src/others/mimesh/libg3d-0.0.8/doc/api/tmpl/plugins.sgml b/src/others/mimesh/libg3d-0.0.8/doc/api/tmpl/plugins.sgml new file mode 100644 index 0000000..1dfdcc7 --- /dev/null +++ b/src/others/mimesh/libg3d-0.0.8/doc/api/tmpl/plugins.sgml @@ -0,0 +1,187 @@ + +plugins + + + + + + + + + + + + + + + + + + + + + + +@G3D_PLUGIN_UNKNOWN: +@G3D_PLUGIN_IMPORT: +@G3D_PLUGIN_IMAGE: + + + + + + +@context: +@Returns: + + + + + + + +@user_data: + + + + + + + +@context: +@filename: +@model: +@user_data: +@Returns: + + + + + + + +@context: +@stream: +@model: +@user_data: +@Returns: + + + + + + + +@context: +@filename: +@image: +@user_data: +@Returns: + + + + + + + +@context: +@stream: +@image: +@user_data: +@Returns: + + + + + + + +@context: +@Returns: + + + + + + + +@context: +@Returns: + + + + + + + + + + + + + +@context: +@Returns: + + + + + + + +@context: + + + + + + + +@context: +@filename: +@model: +@Returns: + + + + + + + +@context: +@stream: +@model: +@Returns: + + + + + + + +@context: +@filename: +@image: +@Returns: + + + + + + + +@context: +@stream: +@image: +@Returns: + + + + + + + +@context: +@Returns: + + diff --git a/src/others/mimesh/libg3d-0.0.8/doc/api/tmpl/primitive.sgml b/src/others/mimesh/libg3d-0.0.8/doc/api/tmpl/primitive.sgml new file mode 100644 index 0000000..64d6d60 --- /dev/null +++ b/src/others/mimesh/libg3d-0.0.8/doc/api/tmpl/primitive.sgml @@ -0,0 +1,110 @@ + +primitive + + + + + + + + + + + + + + + + + + + + + + +@width: +@height: +@depth: +@material: +@Returns: + + + + + + + +@width: +@height: +@depth: +@material: +@Returns: + + + + + + + +@vcnt: +@vdata: +@height: +@width: +@material: +@Returns: + + + + + + + +@m: +@n: +@wrap_m: +@wrap_n: +@material: +@Returns: + + + + + + + +@radius: +@height: +@sides: +@top: +@bottom: +@material: +@Returns: + + + + + + + +@r_in: +@r_out: +@height: +@sides: +@top: +@bottom: +@material: +@Returns: + + + + + + + +@radius: +@vseg: +@hseg: +@material: +@Returns: + + diff --git a/src/others/mimesh/libg3d-0.0.8/doc/api/tmpl/quat.sgml b/src/others/mimesh/libg3d-0.0.8/doc/api/tmpl/quat.sgml new file mode 100644 index 0000000..d32c7b1 --- /dev/null +++ b/src/others/mimesh/libg3d-0.0.8/doc/api/tmpl/quat.sgml @@ -0,0 +1,92 @@ + +quat + + + + + + + + + + + + + + + + + + + + + + + + + + + + +@qr: +@q1: +@q2: +@Returns: + + + + + + + +@q: +@Returns: + + + + + + + +@q: +@axis: +@angle: +@Returns: + + + + + + + +@q: +@matrix: +@Returns: + + + + + + + +@q: +@rx: +@ry: +@rz: +@Returns: + + + + + + + +@q: +@x1: +@y1: +@x2: +@y2: +@r: +@Returns: + + diff --git a/src/others/mimesh/libg3d-0.0.8/doc/api/tmpl/read.sgml b/src/others/mimesh/libg3d-0.0.8/doc/api/tmpl/read.sgml new file mode 100644 index 0000000..c4a3151 --- /dev/null +++ b/src/others/mimesh/libg3d-0.0.8/doc/api/tmpl/read.sgml @@ -0,0 +1,111 @@ + +read + + + + + + + + + + + + + + + + + + + + + + +@f: +@Returns: + + + + + + + +@f: +@Returns: + + + + + + + +@f: +@Returns: + + + + + + + +@f: +@Returns: + + + + + + + +@f: +@Returns: + + + + + + + +@f: +@Returns: + + + + + + + +@f: +@Returns: + + + + + + + +@f: +@Returns: + + + + + + + +@f: +@Returns: + + + + + + + +@f: +@buffer: +@max_len: +@Returns: + + diff --git a/src/others/mimesh/libg3d-0.0.8/doc/api/tmpl/stream.sgml b/src/others/mimesh/libg3d-0.0.8/doc/api/tmpl/stream.sgml new file mode 100644 index 0000000..c487c34 --- /dev/null +++ b/src/others/mimesh/libg3d-0.0.8/doc/api/tmpl/stream.sgml @@ -0,0 +1,391 @@ + +stream + + + + + + + + + + + + + + + + + + + + + + + + + + + + +@filename: +@mode: +@Returns: + + + + + + + +@filename: +@subfile: +@Returns: + + + + + + + +@stream: +@subfile: +@Returns: + + + + + + + +@filename: +@subfile: +@Returns: + + + + + + + +@stream: +@subfile: +@Returns: + + + + + + + +@stream: +@Returns: + + + + + + + +@buffer: +@size: +@title: +@free_buffer: +@Returns: + + + + + + + +@stream: +@cmp_size: +@Returns: + + + + + + + +@flags: +@uri: +@readfunc: +@readlinefunc: +@seekfunc: +@tellfunc: +@sizefunc: +@eoffunc: +@closefunc: +@data: +@Returns: + + + + + + + +@stream: +@Returns: + + + + + + + +@stream: +@offset: +@Returns: + + + + + + + +@stream: +@offset: +@whence: +@Returns: + + + + + + + +@stream: +@Returns: + + + + + + + +@stream: +@Returns: + + + + + + + +@stream: +@Returns: + + + + + + + +@stream: +@Returns: + + + + + + + +@stream: +@Returns: + + + + + + + +@stream: +@Returns: + + + + + + + +@stream: +@ptr: +@size: +@Returns: + + + + + + + +@stream: +@buf: +@size: +@Returns: + + + + + + + +@stream: +@Returns: + + + + + + + +@stream: +@Returns: + + + + + + + +@stream: +@Returns: + + + + + + + +@stream: +@Returns: + + + + + + + +@stream: +@Returns: + + + + + + + +@stream: +@Returns: + + + + + + + +@stream: +@Returns: + + + + + + + +@stream: +@Returns: + + + + + + + +@stream: +@Returns: + + + + + + + +@stream: +@buffer: +@max_len: +@Returns: + + + + + + + +@data: +@Returns: + + + + + + + +@data: +@Returns: + + + + + + + +@ptr: +@size: +@data: +@Returns: + + + + + + + +@buf: +@size: +@data: +@Returns: + + + + + + + +@data: +@offset: +@whence: +@Returns: + + + + + + + +@data: +@Returns: + + + + + + + +@data: +@Returns: + + diff --git a/src/others/mimesh/libg3d-0.0.8/doc/api/tmpl/texture.sgml b/src/others/mimesh/libg3d-0.0.8/doc/api/tmpl/texture.sgml new file mode 100644 index 0000000..5a2d7e7 --- /dev/null +++ b/src/others/mimesh/libg3d-0.0.8/doc/api/tmpl/texture.sgml @@ -0,0 +1,121 @@ + +texture + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +@G3D_TEXENV_UNSPECIFIED: +@G3D_TEXENV_BLEND: +@G3D_TEXENV_DECAL: +@G3D_TEXENV_MODULATE: +@G3D_TEXENV_REPLACE: + + + + + + +@name: +@width: +@height: +@depth: +@flags: +@pixeldata: +@tex_id: +@tex_env: +@tex_scale_u: +@tex_scale_v: + + + + + + +@context: +@model: +@filename: +@Returns: + + + + + + + +@context: +@model: +@stream: +@Returns: + + + + + + + +@context: +@filename: +@Returns: + + + + + + + +@texture: + + + + + + + +@texture: +@Returns: + + + + + + + +@texture: +@Returns: + + + + + + + +@image: +@aimage: +@Returns: + + diff --git a/src/others/mimesh/libg3d-0.0.8/doc/api/tmpl/types.sgml b/src/others/mimesh/libg3d-0.0.8/doc/api/tmpl/types.sgml new file mode 100644 index 0000000..85adfb6 --- /dev/null +++ b/src/others/mimesh/libg3d-0.0.8/doc/api/tmpl/types.sgml @@ -0,0 +1,44 @@ + +types + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/others/mimesh/libg3d-0.0.8/doc/api/tmpl/vector.sgml b/src/others/mimesh/libg3d-0.0.8/doc/api/tmpl/vector.sgml new file mode 100644 index 0000000..f1c9f52 --- /dev/null +++ b/src/others/mimesh/libg3d-0.0.8/doc/api/tmpl/vector.sgml @@ -0,0 +1,65 @@ + +vector + + + + + + + + + + + + + + + + + + + + + + + + + + + + +@ax: +@ay: +@az: +@bx: +@by: +@bz: +@nx: +@ny: +@nz: +@Returns: + + + + + + + +@nx: +@ny: +@nz: +@Returns: + + + + + + + +@x: +@y: +@z: +@matrix: +@Returns: + + diff --git a/src/others/mimesh/libg3d-0.0.8/doc/api/xml/context.xml b/src/others/mimesh/libg3d-0.0.8/doc/api/xml/context.xml new file mode 100644 index 0000000..d9d6e36 --- /dev/null +++ b/src/others/mimesh/libg3d-0.0.8/doc/api/xml/context.xml @@ -0,0 +1,321 @@ + + + + +context +3 +LIBG3D Library + + + +context +Libg3d initialization and configuration + + + + +Synopsis + + + +#include <g3d/g3d.h> + + G3DContext; +G3DContext* g3d_context_new (void); +void g3d_context_free (G3DContext *context); +gboolean (*G3DSetBgColorFunc) (G3DFloat r, + G3DFloat g, + G3DFloat b, + G3DFloat a, + gpointer user_data); +gboolean (*G3DUpdateInterfaceFunc) (gpointer user_data); +gboolean (*G3DUpdateProgressBarFunc) (G3DFloat percentage, + gboolean show, + gpointer user_data); +gboolean g3d_context_update_interface (G3DContext *context); +void g3d_context_set_update_interface_func + (G3DContext *context, + G3DUpdateInterfaceFunc func, + gpointer user_data); +gboolean g3d_context_update_progress_bar (G3DContext *context, + G3DFloat percentage, + gboolean visibility); +void g3d_context_set_update_progress_bar_func + (G3DContext *context, + G3DUpdateProgressBarFunc func, + gpointer user_data); +gboolean g3d_context_set_bgcolor (G3DContext *context, + G3DFloat r, + G3DFloat g, + G3DFloat b, + G3DFloat a); +void g3d_context_set_set_bgcolor_func (G3DContext *context, + G3DSetBgColorFunc func, + gpointer user_data); + + + + + + + + + + + + +Description + +All state information is saved in the context. It also serves as an +interface to the application. + + + + + + +Details + +G3DContext +G3DContexttypedef struct { +} G3DContext; + + +Internal stuff for libg3d. + + + + +g3d_context_new () +g3d_context_newG3DContext* g3d_context_new (void); + +Create a new context. This initializes the library (and also the +plugin system so this has not to be done seperately). + + + +Returns : a valid context, or NULL on failure. + + + +g3d_context_free () +g3d_context_freevoid g3d_context_free (G3DContext *context); + +Cleans up the context and the plugin system and frees all reserved +memory. + + + +context : + the context to free + + + +G3DSetBgColorFunc () +G3DSetBgColorFuncgboolean (*G3DSetBgColorFunc) (G3DFloat r, + G3DFloat g, + G3DFloat b, + G3DFloat a, + gpointer user_data); + +Background color setting callback. + + + +r : + red component + +g : + green component + +b : + blue component + +a : + alpha component + +user_data : + opaque data as given to g3d_context_set_set_bgcolor_func() + +Returns : TRUE on success, FALSE else. + + + +G3DUpdateInterfaceFunc () +G3DUpdateInterfaceFuncgboolean (*G3DUpdateInterfaceFunc) (gpointer user_data); + +Interface updating callback. + + + +user_data : + opaque data as given to g3d_context_set_update_interface_func() + +Returns : TRUE on success, FALSE else. + + + +G3DUpdateProgressBarFunc () +G3DUpdateProgressBarFuncgboolean (*G3DUpdateProgressBarFunc) (G3DFloat percentage, + gboolean show, + gpointer user_data); + +Progress updating callback. + + + +percentage : + progress of plugin operation + +show : + TRUE if the progress bar should be visible, FALSE else + +user_data : + opaque data as given to +g3d_context_set_update_progress_bar_func() + +Returns : TRUE on success, FALSE else. + + + +g3d_context_update_interface () +g3d_context_update_interfacegboolean g3d_context_update_interface (G3DContext *context); + +Try to update the interface. This will call a function registered with +g3d_context_set_update_interface_func. + + + +context : + a valid context + +Returns : TRUE on success, FALSE else + + + +g3d_context_set_update_interface_func () +g3d_context_set_update_interface_funcvoid g3d_context_set_update_interface_func + (G3DContext *context, + G3DUpdateInterfaceFunc func, + gpointer user_data); + +Registers a callback function for updating the interface. + + + +context : + a valid context + +func : + the callback function + +user_data : + user-defined opaque pointer + + + +g3d_context_update_progress_bar () +g3d_context_update_progress_bargboolean g3d_context_update_progress_bar (G3DContext *context, + G3DFloat percentage, + gboolean visibility); + +Try to update the progress bar. + + + +context : + a valid context + +percentage : + the percentage to set on the progress bar + +visibility : + show or hide the progress bar + +Returns : TRUE on success, FALSE else + + + +g3d_context_set_update_progress_bar_func () +g3d_context_set_update_progress_bar_funcvoid g3d_context_set_update_progress_bar_func + (G3DContext *context, + G3DUpdateProgressBarFunc func, + gpointer user_data); + +Registers a callback function for updating the progress bar. + + + +context : + a valid context + +func : + the callback function + +user_data : + user-defined opaque pointer + + + +g3d_context_set_bgcolor () +g3d_context_set_bgcolorgboolean g3d_context_set_bgcolor (G3DContext *context, + G3DFloat r, + G3DFloat g, + G3DFloat b, + G3DFloat a); + +Try to set the background color. This will call a function registered +with g3d_context_set_set_bgcolor_func. + + + +context : + a valid context + +r : + red component (range: 0.0 .. 1.0) + +g : + green component (range: 0.0 .. 1.0) + +b : + green component (range: 0.0 .. 1.0) + +a : + alpha component + +Returns : TRUE on success, FALSE else + + + +g3d_context_set_set_bgcolor_func () +g3d_context_set_set_bgcolor_funcvoid g3d_context_set_set_bgcolor_func (G3DContext *context, + G3DSetBgColorFunc func, + gpointer user_data); + +Registers a callback function for setting the background color. + + + +context : + a valid context + +func : + the callback function + +user_data : + user-defined opaque pointer + + + + + + + + +See Also +G3DContext + + + diff --git a/src/others/mimesh/libg3d-0.0.8/doc/api/xml/face.xml b/src/others/mimesh/libg3d-0.0.8/doc/api/xml/face.xml new file mode 100644 index 0000000..cb8059a --- /dev/null +++ b/src/others/mimesh/libg3d-0.0.8/doc/api/xml/face.xml @@ -0,0 +1,197 @@ + + + + +face +3 +LIBG3D Library + + + +face +Face manipulation + + + + +Synopsis + + + +#include <g3d/face.h> + +#define G3D_FLAG_MAT_TWOSIDE +#define G3D_FLAG_FAC_NORMALS +#define G3D_FLAG_FAC_TEXMAP + G3DFace; +gboolean g3d_face_get_normal (G3DFace *face, + G3DObject *object, + G3DFloat *nx, + G3DFloat *ny, + G3DFloat *nz); +void g3d_face_free (G3DFace *face); + + + + + + + + + + + + +Description + +A face is plane bordered by at least 3 vertices. + + + + + + +Details + +G3D_FLAG_MAT_TWOSIDE +G3D_FLAG_MAT_TWOSIDE#define G3D_FLAG_MAT_TWOSIDE (1L << 0) + + +Faces using this material should be rendered two-sided as the direction +is unknown. + + + + +G3D_FLAG_FAC_NORMALS +G3D_FLAG_FAC_NORMALS#define G3D_FLAG_FAC_NORMALS (1L << 0) + + +The face has custom normals. + + + + +G3D_FLAG_FAC_TEXMAP +G3D_FLAG_FAC_TEXMAP#define G3D_FLAG_FAC_TEXMAP (1L << 1) + + +The face has a texture map and texture coordinates. + + + + +G3DFace +G3DFacetypedef struct { + guint32 vertex_count; + guint32 *vertex_indices; + + G3DMaterial *material; + + guint32 flags; + + G3DVector *normals; + + G3DImage *tex_image; + guint32 tex_vertex_count; + G3DVector *tex_vertex_data; +} G3DFace; + + +An object representing a surface. + + + + +guint32 vertex_count; + number of vertices + + + +guint32 *vertex_indices; + indices of vertices in G3DObject + + + +G3DMaterial *material; + material to use for surface + + + +guint32 flags; + flags + + + +G3DVector *normals; + optional normal array (one vector - 3 G3DVector values - for each + vertex) + + + +G3DImage *tex_image; + optional texture image + + + +guint32 tex_vertex_count; + number of texture vertices, should be 0 or match + vertex_count + + + +G3DVector *tex_vertex_data; + array of texture vertices + + + + +g3d_face_get_normal () +g3d_face_get_normalgboolean g3d_face_get_normal (G3DFace *face, + G3DObject *object, + G3DFloat *nx, + G3DFloat *ny, + G3DFloat *nz); + +calculates the normal of a face. + + + +face : + face to calculate normal of + +object : + object containing vertices of face + +nx : + x component of resulting normal + +ny : + y component of resulting normal + +nz : + z component of resulting normal + +Returns : TRUE on success, FALSE else + + + +g3d_face_free () +g3d_face_freevoid g3d_face_free (G3DFace *face); + +Frees all memory allocated for this face. + + + +face : + the face to free + + + + + + + + + diff --git a/src/others/mimesh/libg3d-0.0.8/doc/api/xml/iff.xml b/src/others/mimesh/libg3d-0.0.8/doc/api/xml/iff.xml new file mode 100644 index 0000000..73b9ca6 --- /dev/null +++ b/src/others/mimesh/libg3d-0.0.8/doc/api/xml/iff.xml @@ -0,0 +1,558 @@ + + + + +iff +3 +LIBG3D Library + + + +iff +IFF file helper functions + + + + +Synopsis + + + +#include <g3d/iff.h> + +#define G3D_IFF_PAD1 +#define G3D_IFF_PAD2 +#define G3D_IFF_PAD4 +#define G3D_IFF_PAD8 +#define G3D_IFF_LE +#define G3D_IFF_LEN16 +#define G3D_IFF_SUBCHUNK_LEN16 +#define G3D_IFF_MKID (a,b,c,d) +gboolean g3d_iff_check (G3DStream *stream, + guint32 *id, + gsize *len); +gsize g3d_iff_read_chunk (G3DStream *stream, + guint32 *id, + gsize *len, + guint32 flags); +gpointer g3d_iff_handle_chunk (G3DIffGlobal *global, + G3DIffLocal *plocal, + G3DIffChunkInfo *chunks, + guint32 flags); +gboolean g3d_iff_chunk_matches (guint32 id, + gchar *tid); +gboolean g3d_iff_read_ctnr (G3DIffGlobal *global, + G3DIffLocal *local, + G3DIffChunkInfo *chunks, + guint32 flags); +gchar* g3d_iff_id_to_text (guint32 id); +FILE* g3d_iff_open (const gchar *filename, + guint32 *id, + guint32 *len); +int g3d_iff_readchunk (FILE *f, + guint32 *id, + guint32 *len, + guint32 flags); +gboolean (*G3DIffChunkCallback) (G3DIffGlobal *global, + G3DIffLocal *local); +#define g3d_iff_chunk_callback + G3DIffChunkInfo; +#define g3d_iff_chunk_info + G3DIffGlobal; +#define g3d_iff_gdata + G3DIffLocal; +#define g3d_iff_ldata + + + + + + + + + + + + +Description + +These are helper functions to read data from the Interchange File Format +(IFF). + + + + + + +Details + +G3D_IFF_PAD1 +G3D_IFF_PAD1#define G3D_IFF_PAD1 0x01 + + +No padding is done after chunks. + + + + +G3D_IFF_PAD2 +G3D_IFF_PAD2#define G3D_IFF_PAD2 0x02 + + +Chunks are 2-byte aligned + + + + +G3D_IFF_PAD4 +G3D_IFF_PAD4#define G3D_IFF_PAD4 0x04 + + +Chunks are 4-byte aligned + + + + +G3D_IFF_PAD8 +G3D_IFF_PAD8#define G3D_IFF_PAD8 0x08 + + +Chunks are 8-byte aligned + + + + +G3D_IFF_LE +G3D_IFF_LE#define G3D_IFF_LE 0x40 /* little endian */ + + +The file has little-endian data. + + + + +G3D_IFF_LEN16 +G3D_IFF_LEN16#define G3D_IFF_LEN16 0x20 + + +All chunks have 16-bit sizes. + + + + +G3D_IFF_SUBCHUNK_LEN16 +G3D_IFF_SUBCHUNK_LEN16#define G3D_IFF_SUBCHUNK_LEN16 0x10 + + +All chunks except the toplevel ones have 16-bit sizes. + + + + +G3D_IFF_MKID() +G3D_IFF_MKID#define G3D_IFF_MKID(a,b,c,d) + +Generate an IFF chunk identifier from character representation, e.g. +G3D_IFF_MKID('F','O','R','M'). + + + +a : + first byte + +b : + second byte + +c : + third byte + +d : + fourth byte + + + +g3d_iff_check () +g3d_iff_checkgboolean g3d_iff_check (G3DStream *stream, + guint32 *id, + gsize *len); + +Checks a stream for a valid IFF signature and reads the top level container. + + + +stream : + stream containing IFF file to check + +id : + top level ID (out) + +len : + length of top level container (out) + +Returns : TRUE on success (valid IFF), FALSE else + + + +g3d_iff_read_chunk () +g3d_iff_read_chunkgsize g3d_iff_read_chunk (G3DStream *stream, + guint32 *id, + gsize *len, + guint32 flags); + +Reads one chunk header from an IFF file. + + + +stream : + stream to read from + +id : + ID of chunk (out) + +len : + length of chunk (excluding header) (out) + +flags : + flags + +Returns : real length of chunk including header and possible padding byte + + + +g3d_iff_handle_chunk () +g3d_iff_handle_chunkgpointer g3d_iff_handle_chunk (G3DIffGlobal *global, + G3DIffLocal *plocal, + G3DIffChunkInfo *chunks, + guint32 flags); + +Handle an IFF chunk based on chunk description. + + + +global : + global data + +plocal : + local data of parent chunk, must not be NULL + +chunks : + chunk description list + +flags : + IFF flags + +Returns : level object for siblings, may be NULL. + + + +g3d_iff_chunk_matches () +g3d_iff_chunk_matchesgboolean g3d_iff_chunk_matches (guint32 id, + gchar *tid); + +Check whether id and tid match. + + + +id : + IFF identifier + +tid : + textual representation of identifier + +Returns : TRUE on match, FALSE else. + + + +g3d_iff_read_ctnr () +g3d_iff_read_ctnrgboolean g3d_iff_read_ctnr (G3DIffGlobal *global, + G3DIffLocal *local, + G3DIffChunkInfo *chunks, + guint32 flags); + +Read subchunks in current chunk and handle them appropriately. + + + +global : + global data + +local : + local data of current chunk, must not be NULL + +chunks : + chunk description list + +flags : + IFF flags + +Returns : TRUE on success, FALSE else. + + + +g3d_iff_id_to_text () +g3d_iff_id_to_textgchar* g3d_iff_id_to_text (guint32 id); + +Get the text representation of an IFF chunk identifier. + + + +id : + an IFF identifier + +Returns : a newly allocated string containing the text identifier. + + + +g3d_iff_open () +g3d_iff_openFILE* g3d_iff_open (const gchar *filename, + guint32 *id, + guint32 *len); + +Opens an IFF file, checks it and reads its top level container. + + + +filename : + file name of IFF file + +id : + top level ID (out) + +len : + length of top level container (out) + +Returns : the file pointer of open file or NULL in case of an error + + + +g3d_iff_readchunk () +g3d_iff_readchunkint g3d_iff_readchunk (FILE *f, + guint32 *id, + guint32 *len, + guint32 flags); + +Reads one chunk header from an IFF file. + + + +f : + the open IFF file pointer + +id : + ID of chunk (out) + +len : + length of chunk (excluding header) (out) + +flags : + flags + +Returns : real length of chunk including header and possible padding byte + + + +G3DIffChunkCallback () +G3DIffChunkCallbackgboolean (*G3DIffChunkCallback) (G3DIffGlobal *global, + G3DIffLocal *local); + +IFF callback function prototype. + + + +global : + the global data + +local : + the local data + +Returns : TRUE on success, FALSE else. + + + +g3d_iff_chunk_callback +g3d_iff_chunk_callback#define g3d_iff_chunk_callback G3DIffChunkCallback + + +IFF chunk callback (deprecated). + + + + +G3DIffChunkInfo +G3DIffChunkInfotypedef struct { + gchar *id; + gchar *description; + gboolean container; + G3DIffChunkCallback callback; +} G3DIffChunkInfo; + + +A chunk type description. + + + + +gchar *id; + identifier of chunk + + + +gchar *description; + human-readable description of chunk type + + + +gboolean container; + TRUE if this chunk contains sub-chunks + + + +G3DIffChunkCallback callback; + function to be called if such a chunk is found + + + + +g3d_iff_chunk_info +g3d_iff_chunk_info#define g3d_iff_chunk_info G3DIffChunkInfo + + +IFF chunk description (deprecated). + + + + +G3DIffGlobal +G3DIffGlobaltypedef struct { + G3DContext *context; + G3DModel *model; + G3DStream *stream; + guint32 flags; + gpointer user_data; + FILE *f; + long int max_fpos; +} G3DIffGlobal; + + +The plugin-global data to be given to IFF callback functions. + + + + +G3DContext *context; + a valid context + + + +G3DModel *model; + a model + + + +G3DStream *stream; + the stream to read model from + + + +guint32 flags; + IFF flags + + + +gpointer user_data; + to be used by plugin + + + +FILE *f; + file to read model from (DEPRECATED) + + + +long int max_fpos; + maximum file position (DEPRECATED) + + + + +g3d_iff_gdata +g3d_iff_gdata#define g3d_iff_gdata G3DIffGlobal + + +IFF global data (deprecated). + + + + +G3DIffLocal +G3DIffLocaltypedef struct { + guint32 id; + guint32 parent_id; + gpointer object; + gint32 level; + gpointer level_object; + gint32 nb; + gboolean finalize; +} G3DIffLocal; + + +The function-local data for IFF callback functions. + + + + +guint32 id; + chunk identifier + + + +guint32 parent_id; + parent chunk identifier + + + +gpointer object; + an object set by parent callbacks, may be NULL + + + +gint32 level; + level of chunk + + + +gpointer level_object; + object shared by callbacks on the same level, may be NULL + + + +gint32 nb; + number of bytes remaining in chunk, has to be decremented after +correctly after reading from stream + + + +gboolean finalize; + for container chunks the callback function is called before +and after processing possible sub-chunks, the second time finalize is set +to TRUE + + + + +g3d_iff_ldata +g3d_iff_ldata#define g3d_iff_ldata G3DIffLocal + + +IFF local data (deprecated). + + + + + + + + + + diff --git a/src/others/mimesh/libg3d-0.0.8/doc/api/xml/material.xml b/src/others/mimesh/libg3d-0.0.8/doc/api/xml/material.xml new file mode 100644 index 0000000..e7240da --- /dev/null +++ b/src/others/mimesh/libg3d-0.0.8/doc/api/xml/material.xml @@ -0,0 +1,142 @@ + + + + +material +3 +LIBG3D Library + + + +material +Material generation and manipulation + + + + +Synopsis + + + +#include <g3d/material.h> + + G3DMaterial; +G3DMaterial* g3d_material_new (void); +void g3d_material_free (G3DMaterial *material); + + + + + + + + + + + + +Description + +A material contains all color, shading and texture information for a +G3DFace. + + + + + + +Details + +G3DMaterial +G3DMaterialtypedef struct { + gchar *name; + G3DFloat r, g, b, a; + G3DFloat shininess; + G3DFloat specular[4]; + guint32 flags; + + G3DImage *tex_image; +} G3DMaterial; + + +A material object. + + + + +gchar *name; + name of material + + + +G3DFloat r; + red component of color + + + +G3DFloat g; + green component of color + + + +G3DFloat b; + blue component of color + + + +G3DFloat a; + alpha component of color + + + +G3DFloat shininess; + shiny color + + + +G3DFloat specular[4]; + specular color + + + +guint32 flags; + flags + + + +G3DImage *tex_image; + texture image (optional, may be NULL) + + + + +g3d_material_new () +g3d_material_newG3DMaterial* g3d_material_new (void); + +Generates a new material with a default color. + + + +Returns : the new material or NULL on error + + + +g3d_material_free () +g3d_material_freevoid g3d_material_free (G3DMaterial *material); + +Frees all memory allocated for that material. + + + +material : + the material to free + + + + + + + + + diff --git a/src/others/mimesh/libg3d-0.0.8/doc/api/xml/matrix.xml b/src/others/mimesh/libg3d-0.0.8/doc/api/xml/matrix.xml new file mode 100644 index 0000000..be65522 --- /dev/null +++ b/src/others/mimesh/libg3d-0.0.8/doc/api/xml/matrix.xml @@ -0,0 +1,278 @@ + + + + +matrix +3 +LIBG3D Library + + + +matrix +Matrix manipulation and calculation + + + + +Synopsis + + + +#include <g3d/matrix.h> + +typedef G3DMatrix; +gboolean g3d_matrix_identity (G3DMatrix *matrix); +gboolean g3d_matrix_multiply (G3DMatrix *m1, + G3DMatrix *m2, + G3DMatrix *rm); +gboolean g3d_matrix_translate (G3DFloat x, + G3DFloat y, + G3DFloat z, + G3DMatrix *rm); +gboolean g3d_matrix_rotate (G3DFloat angle, + G3DFloat ax, + G3DFloat ay, + G3DFloat az, + G3DMatrix *rm); +gboolean g3d_matrix_rotate_xyz (G3DFloat rx, + G3DFloat ry, + G3DFloat rz, + G3DMatrix *rm); +gboolean g3d_matrix_scale (G3DFloat x, + G3DFloat y, + G3DFloat z, + G3DMatrix *rm); +gboolean g3d_matrix_transpose (G3DMatrix *matrix); +G3DFloat g3d_matrix_determinant (G3DMatrix *matrix); +gboolean g3d_matrix_dump (G3DMatrix *matrix); + + + + + + + + + + + + +Description + +Matrices in libg3d have the following layout: + + +G3DMatrix matrix[16]: + + +matrix[col * 4 + row] = f; + + + + + + +Details + +G3DMatrix +G3DMatrixtypedef G3DFloat G3DMatrix; + + +Matrix element type. + + + + +g3d_matrix_identity () +g3d_matrix_identitygboolean g3d_matrix_identity (G3DMatrix *matrix); + +Sets the given matrix to the identity matrix. + + + +matrix : + 4x4 matrix (float[16]) + +Returns : TRUE on success, FALSE else + + + +g3d_matrix_multiply () +g3d_matrix_multiplygboolean g3d_matrix_multiply (G3DMatrix *m1, + G3DMatrix *m2, + G3DMatrix *rm); + +Multiplies the matrixes. + + + +m1 : + first matrix + +m2 : + second matrix + +rm : + resulting matrix + +Returns : TRUE on success, FALSE else + + + +g3d_matrix_translate () +g3d_matrix_translategboolean g3d_matrix_translate (G3DFloat x, + G3DFloat y, + G3DFloat z, + G3DMatrix *rm); + +Adds a translation to the the matrix. + + + +x : + x translation + +y : + y translation + +z : + z translation + +rm : + resulting matrix + +Returns : TRUE on success, FALSE else + + + +g3d_matrix_rotate () +g3d_matrix_rotategboolean g3d_matrix_rotate (G3DFloat angle, + G3DFloat ax, + G3DFloat ay, + G3DFloat az, + G3DMatrix *rm); + +Adds a rotation to the matrix. + + + +angle : + rotation angle + +ax : + x component of rotation axis + +ay : + y component of rotation axis + +az : + z component of rotation axis + +rm : + resulting matrix + +Returns : TRUE on success, FALSE else + + + +g3d_matrix_rotate_xyz () +g3d_matrix_rotate_xyzgboolean g3d_matrix_rotate_xyz (G3DFloat rx, + G3DFloat ry, + G3DFloat rz, + G3DMatrix *rm); + +Adds a rotation around the 3 coordinate system axes to the matrix. + + + +rx : + rotation around x axis + +ry : + rotation around y axis + +rz : + rotation around z axis + +rm : + resulting matrix + +Returns : TRUE on success, FALSE else + + + +g3d_matrix_scale () +g3d_matrix_scalegboolean g3d_matrix_scale (G3DFloat x, + G3DFloat y, + G3DFloat z, + G3DMatrix *rm); + +Adds a scaling to the matrix. + + + +x : + x factor + +y : + y factor + +z : + z factor + +rm : + resulting matrix + +Returns : TRUE on success, FALSE else + + + +g3d_matrix_transpose () +g3d_matrix_transposegboolean g3d_matrix_transpose (G3DMatrix *matrix); + +Transposes the matrix. + + + +matrix : + the matrix + +Returns : TRUE on success, FALSE else + + + +g3d_matrix_determinant () +g3d_matrix_determinantG3DFloat g3d_matrix_determinant (G3DMatrix *matrix); + +Calculate the determinant of the matrix (FIXME: not verified). + + + +matrix : + the matrix + +Returns : the determinant. + + + +g3d_matrix_dump () +g3d_matrix_dumpgboolean g3d_matrix_dump (G3DMatrix *matrix); + +If debugging is enabled, this function dump the matrix to stderr. + + + +matrix : + the matrix + +Returns : TRUE if matrix is dumped, FALSE else + + + + + + + + + diff --git a/src/others/mimesh/libg3d-0.0.8/doc/api/xml/model.xml b/src/others/mimesh/libg3d-0.0.8/doc/api/xml/model.xml new file mode 100644 index 0000000..1392763 --- /dev/null +++ b/src/others/mimesh/libg3d-0.0.8/doc/api/xml/model.xml @@ -0,0 +1,285 @@ + + + + +model +3 +LIBG3D Library + + + +model +Model manipulation functions + + + + +Synopsis + + + +#include <g3d/g3d.h> + +#define G3D_MODEL_CENTER +#define G3D_MODEL_NOCHECK +#define G3D_MODEL_OPTIMIZE +#define G3D_MODEL_SCALE + G3DModel; +G3DModel* g3d_model_new (void); +G3DModel* g3d_model_load (G3DContext *context, + const gchar *filename); +G3DModel* g3d_model_load_full (G3DContext *context, + const gchar *filename, + guint32 flags); +gboolean g3d_model_check (G3DModel *model); +gboolean g3d_model_center (G3DModel *model); +gboolean g3d_model_transform (G3DModel *model, + G3DMatrix *matrix); +void g3d_model_clear (G3DModel *model); +void g3d_model_free (G3DModel *model); +G3DObject* g3d_model_get_object_by_name (G3DModel *model, + const gchar *name); + + + + + + + + + + + + +Description + +A model is a group of objects. All information loaded from a file by libg3d +is found in this model. + + + + + + +Details + +G3D_MODEL_CENTER +G3D_MODEL_CENTER#define G3D_MODEL_CENTER (1 << 1) + + +The model should be centered around the (0,0,0). + + + + +G3D_MODEL_NOCHECK +G3D_MODEL_NOCHECK#define G3D_MODEL_NOCHECK (1 << 3) + + +The common checks should be disabled. The checks include: + +faces have at least 3 indices +face indices are <= number of vertices +material of faces is not NULL + + + + + +G3D_MODEL_OPTIMIZE +G3D_MODEL_OPTIMIZE#define G3D_MODEL_OPTIMIZE (1 << 2) + + +The model material/object/face lists should be serialized to some private +arrays (deprecated). + + + + +G3D_MODEL_SCALE +G3D_MODEL_SCALE#define G3D_MODEL_SCALE (1 << 0) + + +The model should be scaled to a maximum extension of +/- 10.0. + + + + +G3DModel +G3DModeltypedef struct { + gchar *filename; + GSList *materials; + GSList *objects; +} G3DModel; + + +A 3D model. + + + + +gchar *filename; + file name or URI of loaded model, may be set by application + + + +GSList *materials; + list of materials (G3DMaterial) + + + +GSList *objects; + list of objects (G3DObject) + + + + +g3d_model_new () +g3d_model_newG3DModel* g3d_model_new (void); + +This functions allocates and initializes a new G3DModel. + + + +Returns : a newly allocated G3DModel + + + +g3d_model_load () +g3d_model_loadG3DModel* g3d_model_load (G3DContext *context, + const gchar *filename); + +Loads a model from a file. The model is checked, centered, resized, +optimized. + + + +context : + a valid context + +filename : + the file name of the model to load + +Returns : the loaded model or NULL in case of an error + + + +g3d_model_load_full () +g3d_model_load_fullG3DModel* g3d_model_load_full (G3DContext *context, + const gchar *filename, + guint32 flags); + +Loads a model from a file. Depending on flags the model is checked, +centered, resized, optimized. + + + +context : + a valid context + +filename : + the file name of the model to load + +flags : + object manipulation flags + +Returns : the loaded model or NULL in case of an error. + + + +g3d_model_check () +g3d_model_checkgboolean g3d_model_check (G3DModel *model); + +Checks whether a model returned by plugin is valid. + + + +model : + the model to check + +Returns : TRUE on success, FALSE on error + + + +g3d_model_center () +g3d_model_centergboolean g3d_model_center (G3DModel *model); + +Translates all object coordinates that the object center is at (0, 0, 0) + + + +model : + the model to center + +Returns : TRUE on success, FALSE on error + + + +g3d_model_transform () +g3d_model_transformgboolean g3d_model_transform (G3DModel *model, + G3DMatrix *matrix); + +Transform all toplevel objects in model with matrix. + + + +model : + the model + +matrix : + transformation matrix + +Returns : TRUE on success, FALSE else + + + +g3d_model_clear () +g3d_model_clearvoid g3d_model_clear (G3DModel *model); + +Removes all objects from a model. + + + +model : + the model to clear + + + +g3d_model_free () +g3d_model_freevoid g3d_model_free (G3DModel *model); + +Frees all memory allocated for the model including all objects, materials +and textures. + + + +model : + the model to free + + + +g3d_model_get_object_by_name () +g3d_model_get_object_by_nameG3DObject* g3d_model_get_object_by_name (G3DModel *model, + const gchar *name); + +Searches the object tree for an object with the given name. + + + +model : + the model containing all objects + +name : + the name of the requested object + +Returns : the requested object or NULL if non was found + + + + + + + + + diff --git a/src/others/mimesh/libg3d-0.0.8/doc/api/xml/object.xml b/src/others/mimesh/libg3d-0.0.8/doc/api/xml/object.xml new file mode 100644 index 0000000..5aa5baa --- /dev/null +++ b/src/others/mimesh/libg3d-0.0.8/doc/api/xml/object.xml @@ -0,0 +1,301 @@ + + + + +object +3 +LIBG3D Library + + + +object +Object manipulation + + + + +Synopsis + + + +#include <g3d/object.h> + + G3DObject; + G3DTransformation; +void g3d_object_free (G3DObject *object); +gdouble g3d_object_radius (G3DObject *object); +gboolean g3d_object_scale (G3DObject *object, + G3DFloat scale); +gboolean g3d_object_transform (G3DObject *object, + G3DMatrix *matrix); +gboolean g3d_object_transform_normals (G3DObject *object, + G3DMatrix *matrix); +G3DObject* g3d_object_duplicate (G3DObject *object); +gboolean g3d_object_optimize (G3DObject *object); +gboolean g3d_object_smooth (G3DObject *object); +gboolean g3d_object_merge (G3DObject *o1, + G3DObject *o2); + + + + + + + + + + + + +Description + +Objects are parts of a model. In most file formats vertices and faces are +grouped in some way into objects. Objects can be hierarchical, so what a +model contains is basically an object tree. + + + + + + +Details + +G3DObject +G3DObjecttypedef struct { + gchar *name; + + GSList *materials; + GSList *faces; + GSList *objects; + + /* transformation, may be NULL */ + G3DTransformation *transformation; + + /* don't render this object */ + gboolean hide; + + /* vertices */ + guint32 vertex_count; + G3DVector *vertex_data; +} G3DObject; + + +A three-dimensional object. + + + + +gchar *name; + name of object + + + +GSList *materials; + list of materials + + + +GSList *faces; + list of faces + + + +GSList *objects; + list of sub-objects + + + +G3DTransformation *transformation; + optional transformation + + + +gboolean hide; + flag to disable object rendering + + + +guint32 vertex_count; + number of vertices + + + +G3DVector *vertex_data; + vertex vector data + + + + +G3DTransformation +G3DTransformationtypedef struct { + G3DMatrix matrix[16]; + guint32 flags; +} G3DTransformation; + + +A three-dimensional matrix transformation object. + + + + +G3DMatrix matrix[16]; + the transformation matrix + + + +guint32 flags; + flags + + + + +g3d_object_free () +g3d_object_freevoid g3d_object_free (G3DObject *object); + +Frees all memory allocated for that object. + + + +object : + the object to free + + + +g3d_object_radius () +g3d_object_radiusgdouble g3d_object_radius (G3DObject *object); + +Calculates the radius of the object. This is the maximum from the +center to a vertex. + + + +object : + the object to measure + +Returns : the radius of the given object + + + +g3d_object_scale () +g3d_object_scalegboolean g3d_object_scale (G3DObject *object, + G3DFloat scale); + +Resizes the object by the factor scale. + + + +object : + the object to scale + +scale : + scale factor + +Returns : TRUE on success, FALSE else + + + +g3d_object_transform () +g3d_object_transformgboolean g3d_object_transform (G3DObject *object, + G3DMatrix *matrix); + +Multiplies all vertices of the object with the transformation matrix. + + + +object : + the object to transform + +matrix : + the transformation matrix + +Returns : TRUE on success, FALSE else + + + +g3d_object_transform_normals () +g3d_object_transform_normalsgboolean g3d_object_transform_normals (G3DObject *object, + G3DMatrix *matrix); + +Multiplies all normals of the object with the transformation matrix. + + + +object : + the object to transform + +matrix : + the transformation matrix + +Returns : TRUE on success, FALSE else + + + +g3d_object_duplicate () +g3d_object_duplicateG3DObject* g3d_object_duplicate (G3DObject *object); + +Duplicates an object with all vertices, faces and materials. + + + +object : + the object to duplicate + +Returns : the new clone object + + + +g3d_object_optimize () +g3d_object_optimizegboolean g3d_object_optimize (G3DObject *object); + +Puts all vertex and face information into special arrays for faster +rendering. It is deprecated and should not be used. + + + +object : + the object to optimize + +Returns : TRUE on success, FALSE else + + + +g3d_object_smooth () +g3d_object_smoothgboolean g3d_object_smooth (G3DObject *object); + +FIXME: unimplemented. + + + +object : + the object to smooth + +Returns : TRUE on success, FALSE else + + + +g3d_object_merge () +g3d_object_mergegboolean g3d_object_merge (G3DObject *o1, + G3DObject *o2); + +Merges both objects into o1. +FIXME: needs cleanup + + + +o1 : + first and target object + +o2 : + second object + +Returns : TRUE on success, FALSE else + + + + + + + + + diff --git a/src/others/mimesh/libg3d-0.0.8/doc/api/xml/plugins.xml b/src/others/mimesh/libg3d-0.0.8/doc/api/xml/plugins.xml new file mode 100644 index 0000000..567293e --- /dev/null +++ b/src/others/mimesh/libg3d-0.0.8/doc/api/xml/plugins.xml @@ -0,0 +1,423 @@ + + + + +plugins +3 +LIBG3D Library + + + +plugins +G3DPlugin interface + + + + +Synopsis + + + +#include <g3d/plugins.h> + +enum G3DPluginType; +gpointer (*G3DPluginInitFunc) (G3DContext *context); +void (*G3DPluginCleanupFunc) (gpointer user_data); +gboolean (*G3DPluginLoadModelFunc) (G3DContext *context, + const gchar *filename, + G3DModel *model, + gpointer user_data); +gboolean (*G3DPluginLoadModelFromStreamFunc) (G3DContext *context, + G3DStream *stream, + G3DModel *model, + gpointer user_data); +gboolean (*G3DPluginLoadImageFunc) (G3DContext *context, + const gchar *filename, + G3DImage *image, + gpointer user_data); +gboolean (*G3DPluginLoadImageStreamFunc) (G3DContext *context, + G3DStream *stream, + G3DImage *image, + gpointer user_data); +gchar* (*G3DPluginGetDescFunc) (G3DContext *context); +gchar** (*G3DPluginGetExtFunc) (G3DContext *context); + G3DPlugin; +gboolean g3d_plugins_init (G3DContext *context); +void g3d_plugins_cleanup (G3DContext *context); +gboolean g3d_plugins_load_model (G3DContext *context, + const gchar *filename, + G3DModel *model); +gboolean g3d_plugins_load_model_from_stream (G3DContext *context, + G3DStream *stream, + G3DModel *model); +gboolean g3d_plugins_load_image (G3DContext *context, + const gchar *filename, + G3DImage *image); +gboolean g3d_plugins_load_image_from_stream (G3DContext *context, + G3DStream *stream, + G3DImage *image); +gchar** g3d_plugins_get_image_extensions (G3DContext *context); + + + + + + + + + + + + +Description + +Direct interaction with the plugin system is normally not needed when using +libg3d. It may be required when writing a plugin which should load a +G3DImage or a G3DModel with another plugin. + + + + + + +Details + +enum G3DPluginType +G3DPluginTypetypedef enum { + G3D_PLUGIN_UNKNOWN = 0x00, + G3D_PLUGIN_IMPORT, + G3D_PLUGIN_IMAGE +} G3DPluginType; + + +Type of plugin. + + + + +G3D_PLUGIN_UNKNOWN + unknown plugin type + + + +G3D_PLUGIN_IMPORT + model import plugin + + + +G3D_PLUGIN_IMAGE + image loading plugin + + + + +G3DPluginInitFunc () +G3DPluginInitFuncgpointer (*G3DPluginInitFunc) (G3DContext *context); + +Prototype for plugin_init(). + + + +context : + the context + +Returns : opaque plugin data. + + + +G3DPluginCleanupFunc () +G3DPluginCleanupFuncvoid (*G3DPluginCleanupFunc) (gpointer user_data); + +Prototype for plugin_cleanup(). + + + +user_data : + opaque plugin data + + + +G3DPluginLoadModelFunc () +G3DPluginLoadModelFuncgboolean (*G3DPluginLoadModelFunc) (G3DContext *context, + const gchar *filename, + G3DModel *model, + gpointer user_data); + +Prototype for plugin_load_model(). + + + +context : + the context + +filename : + file name of model + +model : + the model structure to fill + +user_data : + opaque plugin data + +Returns : TRUE on success, FALSE else. + + + +G3DPluginLoadModelFromStreamFunc () +G3DPluginLoadModelFromStreamFuncgboolean (*G3DPluginLoadModelFromStreamFunc) (G3DContext *context, + G3DStream *stream, + G3DModel *model, + gpointer user_data); + +Prototype for plugin_load_model_from_stream(). + + + +context : + the context + +stream : + the stream to load from + +model : + the model structure to fill + +user_data : + opaque plugin data + +Returns : TRUE on success, FALSE else. + + + +G3DPluginLoadImageFunc () +G3DPluginLoadImageFuncgboolean (*G3DPluginLoadImageFunc) (G3DContext *context, + const gchar *filename, + G3DImage *image, + gpointer user_data); + +Prototype for plugin_load_image(). + + + +context : + the context + +filename : + file name of image + +image : + image structure to fill + +user_data : + opaque plugin data + +Returns : TRUE on success, FALSE else. + + + +G3DPluginLoadImageStreamFunc () +G3DPluginLoadImageStreamFuncgboolean (*G3DPluginLoadImageStreamFunc) (G3DContext *context, + G3DStream *stream, + G3DImage *image, + gpointer user_data); + +Prototype for plugin_load_image_from_stream(). + + + +context : + the context + +stream : + the stream to load from + +image : + image structure to fill + +user_data : + opaque plugin data + +Returns : TRUE on success, FALSE else. + + + +G3DPluginGetDescFunc () +G3DPluginGetDescFuncgchar* (*G3DPluginGetDescFunc) (G3DContext *context); + +Prototype for plugin_description(). + + + +context : + the context + +Returns : a newly-allocated string containing the description of the plugin. + + + +G3DPluginGetExtFunc () +G3DPluginGetExtFuncgchar** (*G3DPluginGetExtFunc) (G3DContext *context); + +Prototype for plugin_extensions(). + + + +context : + the context + +Returns : NULL-terminated list of file extensions supported by this plugin. +Free with g_strfreev(). + + + +G3DPlugin +G3DPlugintypedef struct { +} G3DPlugin; + + +A libg3d plugin. + + + + +g3d_plugins_init () +g3d_plugins_initgboolean g3d_plugins_init (G3DContext *context); + +Initializes the plugin system. This is implicitly done when using +g3d_context_new(). + + + +context : + a valid G3DContext + +Returns : TRUE on success, FALSE else. + + + +g3d_plugins_cleanup () +g3d_plugins_cleanupvoid g3d_plugins_cleanup (G3DContext *context); + +Clean up the plugin system. Usually done by g3d_context_free(). + + + +context : + a valid context + + + +g3d_plugins_load_model () +g3d_plugins_load_modelgboolean g3d_plugins_load_model (G3DContext *context, + const gchar *filename, + G3DModel *model); + +Try to load a model from file using import plugins. + + + +context : + a valid context + +filename : + file name of model to load + +model : + model structure to fill + +Returns : TRUE on success, FALSE else. + + + +g3d_plugins_load_model_from_stream () +g3d_plugins_load_model_from_streamgboolean g3d_plugins_load_model_from_stream (G3DContext *context, + G3DStream *stream, + G3DModel *model); + +Try to load a model from stream using import plugins. + + + +context : + a valid context + +stream : + stream to load model from + +model : + model structure to fill + +Returns : TRUE on success, FALSE else. + + + +g3d_plugins_load_image () +g3d_plugins_load_imagegboolean g3d_plugins_load_image (G3DContext *context, + const gchar *filename, + G3DImage *image); + +Try to load an image from file using import plugins. + + + +context : + a valid context + +filename : + file name of image to load + +image : + image structure to fill + +Returns : TRUE on success, FALSE else. + + + +g3d_plugins_load_image_from_stream () +g3d_plugins_load_image_from_streamgboolean g3d_plugins_load_image_from_stream (G3DContext *context, + G3DStream *stream, + G3DImage *image); + +Try to load an image from stream using import plugins. + + + +context : + a valid context + +stream : + stream to load image from + +image : + image structure to fill + +Returns : TRUE on success, FALSE else. + + + +g3d_plugins_get_image_extensions () +g3d_plugins_get_image_extensionsgchar** g3d_plugins_get_image_extensions (G3DContext *context); + +Get the supported image type extensions. + + + +context : + a valid context + +Returns : NULL-terminated list of image file extensions supported by this +plugin. Free with g_strfreev(). + + + + + + + + +See Also +G3DPlugin + + + diff --git a/src/others/mimesh/libg3d-0.0.8/doc/api/xml/primitive.xml b/src/others/mimesh/libg3d-0.0.8/doc/api/xml/primitive.xml new file mode 100644 index 0000000..bb2f8c8 --- /dev/null +++ b/src/others/mimesh/libg3d-0.0.8/doc/api/xml/primitive.xml @@ -0,0 +1,302 @@ + + + + +primitive +3 +LIBG3D Library + + + +primitive +3D primitive generation functions + + + + +Synopsis + + + +#include <g3d/primitive.h> + +G3DObject* g3d_primitive_cube (G3DFloat width, + G3DFloat height, + G3DFloat depth, + G3DMaterial *material); +G3DObject* g3d_primitive_box (G3DFloat width, + G3DFloat height, + G3DFloat depth, + G3DMaterial *material); +G3DObject* g3d_primitive_box_strip_2d (guint32 vcnt, + gdouble *vdata, + gdouble height, + gdouble width, + G3DMaterial *material); +G3DObject* g3d_primitive_mesh (guint32 m, + guint32 n, + gboolean wrap_m, + gboolean wrap_n, + G3DMaterial *material); +G3DObject* g3d_primitive_cylinder (G3DFloat radius, + G3DFloat height, + guint32 sides, + gboolean top, + gboolean bottom, + G3DMaterial *material); +G3DObject* g3d_primitive_tube (G3DFloat r_in, + G3DFloat r_out, + G3DFloat height, + guint32 sides, + gboolean top, + gboolean bottom, + G3DMaterial *material); +G3DObject* g3d_primitive_sphere (G3DFloat radius, + guint32 vseg, + guint32 hseg, + G3DMaterial *material); + + + + + + + + + + + + +Description + +Primitives are objects containing basic 3D geometrical structures. A +variety of them can be created using these functions. + + + + + + +Details + +g3d_primitive_cube () +g3d_primitive_cubeG3DObject* g3d_primitive_cube (G3DFloat width, + G3DFloat height, + G3DFloat depth, + G3DMaterial *material); + +Generates an object containing a box. It is deprecated and now a wrapper for +g3d_primitive_box(). + + + +width : + the width of the box + +height : + the height of the box + +depth : + the depth of the box + +material : + the material to use for all faces + +Returns : the box object + + + +g3d_primitive_box () +g3d_primitive_boxG3DObject* g3d_primitive_box (G3DFloat width, + G3DFloat height, + G3DFloat depth, + G3DMaterial *material); + +Generates an object containing a box. + + + +width : + the width of the box + +height : + the height of the box + +depth : + the depth of the box + +material : + the material to use for all faces + +Returns : the box object + + + +g3d_primitive_box_strip_2d () +g3d_primitive_box_strip_2dG3DObject* g3d_primitive_box_strip_2d (guint32 vcnt, + gdouble *vdata, + gdouble height, + gdouble width, + G3DMaterial *material); + +Generates a strip of box segments defined by corner center points +using two-dimensional data (x/z plane). + + + +vcnt : + number of control points + +vdata : + 2-dimensional control point data (2 * vcnt * gdouble) + +height : + height of resulting strip (y component) + +width : + width of strip (corner diameter) + +material : + material to use for faces + +Returns : strip object + + + +g3d_primitive_mesh () +g3d_primitive_meshG3DObject* g3d_primitive_mesh (guint32 m, + guint32 n, + gboolean wrap_m, + gboolean wrap_n, + G3DMaterial *material); + +Generate a mesh consisting of m * n vertices. The vertex data is +initialized with (0.0, 0.0, 0.0) and has to be set to something +useful. + + + +m : + number of vertices in m direction + +n : + number of vertices in n direction + +wrap_m : + wrap around in m direction + +wrap_n : + wrap around in n direction + +material : + material to use for faces + +Returns : mesh object + + + +g3d_primitive_cylinder () +g3d_primitive_cylinderG3DObject* g3d_primitive_cylinder (G3DFloat radius, + G3DFloat height, + guint32 sides, + gboolean top, + gboolean bottom, + G3DMaterial *material); + +Generates an object containing a cylinder. + + + +radius : + the radius of the cylinder + +height : + the height of the side faces + +sides : + number of side faces (number of circle segments) + +top : + add top faces + +bottom : + add bottom faces + +material : + material to use for faces + +Returns : cylinder object + + + +g3d_primitive_tube () +g3d_primitive_tubeG3DObject* g3d_primitive_tube (G3DFloat r_in, + G3DFloat r_out, + G3DFloat height, + guint32 sides, + gboolean top, + gboolean bottom, + G3DMaterial *material); + +Generates an object containing a tube (a cylinder with a hole). + + + +r_in : + inner radius + +r_out : + outer radius + +height : + the height of the side faces + +sides : + number of side faces (number of circle segments) + +top : + add top faces + +bottom : + add bottom faces + +material : + material to use for faces + +Returns : tube object + + + +g3d_primitive_sphere () +g3d_primitive_sphereG3DObject* g3d_primitive_sphere (G3DFloat radius, + guint32 vseg, + guint32 hseg, + G3DMaterial *material); + +Generates an object containing a sphere. + + + +radius : + radius + +vseg : + number of vertical segments + +hseg : + number of horizontal segments + +material : + material to use for faces + +Returns : sphere object + + + + + + + + + diff --git a/src/others/mimesh/libg3d-0.0.8/doc/api/xml/quat.xml b/src/others/mimesh/libg3d-0.0.8/doc/api/xml/quat.xml new file mode 100644 index 0000000..efb65d4 --- /dev/null +++ b/src/others/mimesh/libg3d-0.0.8/doc/api/xml/quat.xml @@ -0,0 +1,220 @@ + + + + +quat +3 +LIBG3D Library + + + +quat +quaternion helpers + + + + +Synopsis + + + +#include <g3d/quat.h> + +typedef G3DQuat; +gboolean g3d_quat_add (G3DQuat *qr, + G3DQuat *q1, + G3DQuat *q2); +gboolean g3d_quat_normalize (G3DQuat *q); +gboolean g3d_quat_rotate (G3DQuat *q, + G3DVector *axis, + G3DFloat angle); +gboolean g3d_quat_to_matrix (G3DQuat *q, + G3DMatrix *matrix); +gboolean g3d_quat_to_rotation_xyz (G3DQuat *q, + G3DFloat *rx, + G3DFloat *ry, + G3DFloat *rz); +gboolean g3d_quat_trackball (G3DQuat *q, + G3DFloat x1, + G3DFloat y1, + G3DFloat x2, + G3DFloat y2, + G3DFloat r); + + + + + + + + + + + + +Description + + + + + + + + +Details + +G3DQuat +G3DQuattypedef G3DFloat G3DQuat; + + +Quaternion element type. + + + + +g3d_quat_add () +g3d_quat_addgboolean g3d_quat_add (G3DQuat *qr, + G3DQuat *q1, + G3DQuat *q2); + +Add two quats. + + + +qr : + result quat + +q1 : + first quat + +q2 : + second quat + +Returns : TRUE on success, FALSE else + + + +g3d_quat_normalize () +g3d_quat_normalizegboolean g3d_quat_normalize (G3DQuat *q); + +normalize the quaternion to a length of 1.0. + + + +q : + a quaternion + +Returns : TRUE on success, FALSE else + + + +g3d_quat_rotate () +g3d_quat_rotategboolean g3d_quat_rotate (G3DQuat *q, + G3DVector *axis, + G3DFloat angle); + +Encode a rotation around an axis into quaternion. + + + +q : + resulting quat + +axis : + rotation axis + +angle : + rotation angle + +Returns : TRUE on success, FALSE else + + + +g3d_quat_to_matrix () +g3d_quat_to_matrixgboolean g3d_quat_to_matrix (G3DQuat *q, + G3DMatrix *matrix); + +Convert a quaternion to a transformation matrix. + + + +q : + source quat + +matrix : + resulting matrix + +Returns : TRUE on success, FALSE else + + + +g3d_quat_to_rotation_xyz () +g3d_quat_to_rotation_xyzgboolean g3d_quat_to_rotation_xyz (G3DQuat *q, + G3DFloat *rx, + G3DFloat *ry, + G3DFloat *rz); + +Calculate the rotation around the three coordinate axes from a given +quaternion. + + + +q : + a quaternion + +rx : + rotation around x axis + +ry : + rotation around y axis + +rz : + rotation around z axis + +Returns : TRUE on success, FALSE else + + + +g3d_quat_trackball () +g3d_quat_trackballgboolean g3d_quat_trackball (G3DQuat *q, + G3DFloat x1, + G3DFloat y1, + G3DFloat x2, + G3DFloat y2, + G3DFloat r); + +Emulate a virtual trackball movement and return rotation as quaternion. +The x and y values of the starting and end point of the movement have +to be in the range -1.0 .. 1.0. + + + +q : + resulting quaternion + +x1 : + x value of first point + +y1 : + y value of first point + +x2 : + x value of second point + +y2 : + y value of second point + +r : + radius of virtual trackball, usually 0.8 + +Returns : TRUE on success, FALSE else + + + + + + + + + diff --git a/src/others/mimesh/libg3d-0.0.8/doc/api/xml/read.xml b/src/others/mimesh/libg3d-0.0.8/doc/api/xml/read.xml new file mode 100644 index 0000000..08f1473 --- /dev/null +++ b/src/others/mimesh/libg3d-0.0.8/doc/api/xml/read.xml @@ -0,0 +1,218 @@ + + + + +read +3 +LIBG3D Library + + + +read +file reading abstraction (deprecated) + + + + +Synopsis + + + +#include <g3d/read.h> + +gint32 g3d_read_int8 (FILE *f); +gint32 g3d_read_int16_be (FILE *f); +gint32 g3d_read_int16_le (FILE *f); +gint32 g3d_read_int32_be (FILE *f); +gint32 g3d_read_int32_le (FILE *f); +G3DFloat g3d_read_float_be (FILE *f); +G3DFloat g3d_read_float_le (FILE *f); +G3DDouble g3d_read_double_be (FILE *f); +G3DDouble g3d_read_double_le (FILE *f); +gint32 g3d_read_cstr (FILE *f, + gchar *buffer, + gint32 max_len); + + + + + + + + + + + + +Description + +The g3d_read_* family of functions is deprecated in favour of the G3DStream +interface. + + + + + + +Details + +g3d_read_int8 () +g3d_read_int8gint32 g3d_read_int8 (FILE *f); + +Read a 1 byte signed integer from file. + + + +f : + the file to read from + +Returns : The read value, 0 in case of error + + + +g3d_read_int16_be () +g3d_read_int16_begint32 g3d_read_int16_be (FILE *f); + +Read a 2 byte big-endian signed integer from file. + + + +f : + the file to read from + +Returns : The read value, 0 in case of error + + + +g3d_read_int16_le () +g3d_read_int16_legint32 g3d_read_int16_le (FILE *f); + +Read a 2 byte little-endian signed integer from file. + + + +f : + the file to read from + +Returns : The read value, 0 in case of error + + + +g3d_read_int32_be () +g3d_read_int32_begint32 g3d_read_int32_be (FILE *f); + +Read a 4 byte big-endian signed integer from file. + + + +f : + the file to read from + +Returns : The read value, 0 in case of error + + + +g3d_read_int32_le () +g3d_read_int32_legint32 g3d_read_int32_le (FILE *f); + +Read a 4 byte little-endian signed integer from file. + + + +f : + the file to read from + +Returns : The read value, 0 in case of error + + + +g3d_read_float_be () +g3d_read_float_beG3DFloat g3d_read_float_be (FILE *f); + +Read a 4 byte big-endian floating point number from file. + + + +f : + the file to read from + +Returns : The read value, 0 in case of error + + + +g3d_read_float_le () +g3d_read_float_leG3DFloat g3d_read_float_le (FILE *f); + +Read a 4 byte little-endian floating point number from file. + + + +f : + the file to read from + +Returns : The read value, 0 in case of error + + + +g3d_read_double_be () +g3d_read_double_beG3DDouble g3d_read_double_be (FILE *f); + +Read a 8 byte big-endian double-precision floating point number from file. + + + +f : + the file to read from + +Returns : The read value, 0 in case of error + + + +g3d_read_double_le () +g3d_read_double_leG3DDouble g3d_read_double_le (FILE *f); + +Read a 8 byte little-endian double-precision floating point number from +file. + + + +f : + the file to read from + +Returns : The read value, 0 in case of error + + + +g3d_read_cstr () +g3d_read_cstrgint32 g3d_read_cstr (FILE *f, + gchar *buffer, + gint32 max_len); + +Read a zero-terminated string from file. + + + +f : + the file to read from + +buffer : + the buffer to store line in + +max_len : + maximum length of string including termination character + +Returns : number of bytes read from file. + + + + + + + + +See Also +g3d_stream_open_file + + + diff --git a/src/others/mimesh/libg3d-0.0.8/doc/api/xml/stream.xml b/src/others/mimesh/libg3d-0.0.8/doc/api/xml/stream.xml new file mode 100644 index 0000000..99d7bfb --- /dev/null +++ b/src/others/mimesh/libg3d-0.0.8/doc/api/xml/stream.xml @@ -0,0 +1,801 @@ + + + + +stream +3 +LIBG3D Library + + + +stream +I/O abstraction layer for plugins + + + + +Synopsis + + + +#include <g3d/stream.h> + + G3DStream; +G3DStream* g3d_stream_open_file (const gchar *filename, + const gchar *mode); +G3DStream* g3d_stream_open_structured_file (const gchar *filename, + const gchar *subfile); +G3DStream* g3d_stream_open_structured_file_from_stream + (G3DStream *stream, + const gchar *subfile); +G3DStream* g3d_stream_open_zip (const gchar *filename, + const gchar *subfile); +G3DStream* g3d_stream_open_zip_from_stream (G3DStream *stream, + const gchar *subfile); +G3DStream* g3d_stream_open_gzip_from_stream (G3DStream *stream); +G3DStream* g3d_stream_from_buffer (guint8 *buffer, + gsize size, + const gchar *title, + gboolean free_buffer); +G3DStream* g3d_stream_zlib_inflate_stream (G3DStream *stream, + gsize cmp_size); +G3DStream* g3d_stream_new_custom (guint32 flags, + const gchar *uri, + G3DStreamReadFunc readfunc, + G3DStreamReadLineFunc readlinefunc, + G3DStreamSeekFunc seekfunc, + G3DStreamTellFunc tellfunc, + G3DStreamSizeFunc sizefunc, + G3DStreamEofFunc eoffunc, + G3DStreamCloseFunc closefunc, + gpointer data); +gint g3d_stream_close (G3DStream *stream); +gint g3d_stream_skip (G3DStream *stream, + goffset offset); +gint g3d_stream_seek (G3DStream *stream, + goffset offset, + GSeekType whence); +goffset g3d_stream_tell (G3DStream *stream); +goffset g3d_stream_size (G3DStream *stream); +gboolean g3d_stream_eof (G3DStream *stream); +gboolean g3d_stream_is_seekable (G3DStream *stream); +gchar* g3d_stream_get_uri (G3DStream *stream); +guint32 g3d_stream_line (G3DStream *stream); +gsize g3d_stream_read (G3DStream *stream, + gpointer ptr, + gsize size); +gchar* g3d_stream_read_line (G3DStream *stream, + gchar *buf, + gsize size); +gint32 g3d_stream_read_int8 (G3DStream *stream); +gint32 g3d_stream_read_int16_be (G3DStream *stream); +gint32 g3d_stream_read_int16_le (G3DStream *stream); +gint32 g3d_stream_read_int32_be (G3DStream *stream); +gint32 g3d_stream_read_int32_le (G3DStream *stream); +G3DFloat g3d_stream_read_float_be (G3DStream *stream); +G3DFloat g3d_stream_read_float_le (G3DStream *stream); +G3DDouble g3d_stream_read_double_be (G3DStream *stream); +G3DDouble g3d_stream_read_double_le (G3DStream *stream); +gint32 g3d_stream_read_cstr (G3DStream *stream, + gchar *buffer, + gint32 max_len); +gint (*G3DStreamCloseFunc) (gpointer data); +gboolean (*G3DStreamEofFunc) (gpointer data); +gsize (*G3DStreamReadFunc) (gpointer ptr, + gsize size, + gpointer data); +gchar* (*G3DStreamReadLineFunc) (gchar *buf, + gsize size, + gpointer data); +gint (*G3DStreamSeekFunc) (gpointer data, + goffset offset, + GSeekType whence); +goffset (*G3DStreamSizeFunc) (gpointer data); +goffset (*G3DStreamTellFunc) (gpointer data); + + + + + + + + + + + + +Description + +A stream is an abstraction for data input. It enables plugins to read +data from a file, a memory buffer, a container file or some other medium. + + + + + + +Details + +G3DStream +G3DStreamtypedef struct { +} G3DStream; + + +An abstraction of input handling. + + + + +g3d_stream_open_file () +g3d_stream_open_fileG3DStream* g3d_stream_open_file (const gchar *filename, + const gchar *mode); + +Opens a file with the C stdio routines. + + + +filename : + the name of the file to open + +mode : + the mode to open the file, as given to fopen() + +Returns : a newly allocated G3DStream or NULL in case of an error. + + + +g3d_stream_open_structured_file () +g3d_stream_open_structured_fileG3DStream* g3d_stream_open_structured_file (const gchar *filename, + const gchar *subfile); + +Open a file within a Structured File as G3DStream. + + + +filename : + name of container file + +subfile : + name of (contained) sub-file + +Returns : a newly allocated G3DStream or NULL in case of an error. + + + +g3d_stream_open_structured_file_from_stream () +g3d_stream_open_structured_file_from_streamG3DStream* g3d_stream_open_structured_file_from_stream + (G3DStream *stream, + const gchar *subfile); + +Open a file within a Structured File which is opened as a stream. At the +moment this only works for streams opened by g3d_stream_open_file() as +the file is directly opened again. + + + +stream : + stream of container file + +subfile : + name of (contained) sub-file + +Returns : a newly allocated G3DStream or NULL in case of an error. + + + +g3d_stream_open_zip () +g3d_stream_open_zipG3DStream* g3d_stream_open_zip (const gchar *filename, + const gchar *subfile); + +Open a file within a Zip archive. + + + +filename : + name of container file + +subfile : + name of (contained) sub-file + +Returns : a newly allocated G3DStream or NULL in case of an error. + + + +g3d_stream_open_zip_from_stream () +g3d_stream_open_zip_from_streamG3DStream* g3d_stream_open_zip_from_stream (G3DStream *stream, + const gchar *subfile); + +Open a file within a Zip archive which is opened as a stream. At the +moment this only works for streams opened by g3d_stream_open_file() as +the file is directly opened again. + + + +stream : + stream of container file + +subfile : + name of (contained) sub-file + +Returns : a newly allocated G3DStream or NULL in case of an error. + + + +g3d_stream_open_gzip_from_stream () +g3d_stream_open_gzip_from_streamG3DStream* g3d_stream_open_gzip_from_stream (G3DStream *stream); + +Reads data from a gzip-compressed stream. + + + +stream : + stream to read from + +Returns : a newly allocated G3DStream or NULL in case of an error. + + + +g3d_stream_from_buffer () +g3d_stream_from_bufferG3DStream* g3d_stream_from_buffer (guint8 *buffer, + gsize size, + const gchar *title, + gboolean free_buffer); + +Use a buffer in memory as G3DStream. + + + +buffer : + memory buffer to use + +size : + size of buffer + +title : + optional title of stream, may be NULL + +free_buffer : + whether to free the memory with g_free() on g3d_stream_close() + +Returns : a newly allocated G3DStream or NULL in case of an error. + + + +g3d_stream_zlib_inflate_stream () +g3d_stream_zlib_inflate_streamG3DStream* g3d_stream_zlib_inflate_stream (G3DStream *stream, + gsize cmp_size); + +Opens a new stream to decompress zlib-deflated parts of a stream. + + + +stream : + a parent stream + +cmp_size : + the compressed size of the deflated part + +Returns : a newly allocated G3DStream or NULL in case of an error + + + +g3d_stream_new_custom () +g3d_stream_new_customG3DStream* g3d_stream_new_custom (guint32 flags, + const gchar *uri, + G3DStreamReadFunc readfunc, + G3DStreamReadLineFunc readlinefunc, + G3DStreamSeekFunc seekfunc, + G3DStreamTellFunc tellfunc, + G3DStreamSizeFunc sizefunc, + G3DStreamEofFunc eoffunc, + G3DStreamCloseFunc closefunc, + gpointer data); + +Creates a new G3DStream with custom callback functions. + + + +flags : + stream capability flags + +uri : + URI of new stream, must not be NULL + +readfunc : + read callback function + +readlinefunc : + read line callback function, may be NULL in which case +line reading is emulated with g3d_stream_read() + +seekfunc : + seek callback function + +tellfunc : + tell callback function + +sizefunc : + size callback function + +eoffunc : + end-of-file callback function + +closefunc : + close callback function + +data : + opaque data for all callback functions + +Returns : a newly allocated G3DStream or NULL in case of an error. + + + +g3d_stream_close () +g3d_stream_closegint g3d_stream_close (G3DStream *stream); + +Closes an open stream. + + + +stream : + the stream + +Returns : 0 on success. + + + +g3d_stream_skip () +g3d_stream_skipgint g3d_stream_skip (G3DStream *stream, + goffset offset); + +Skip a number of bytes (>= 0) in stream even if it does not support +seeking. + + + +stream : + stream to skip bytes from + +offset : + number of bytes to skip + +Returns : 0 on success, -1 else + + + +g3d_stream_seek () +g3d_stream_seekgint g3d_stream_seek (G3DStream *stream, + goffset offset, + GSeekType whence); + +Moves around the current position in the stream. + + + +stream : + stream to seek in + +offset : + number of bytes to seek + +whence : + seek type + +Returns : 0 on success, -1 else + + + +g3d_stream_tell () +g3d_stream_tellgoffset g3d_stream_tell (G3DStream *stream); + +Tells the current position in the stream. + + + +stream : + stream to get position from + +Returns : current stream position + + + +g3d_stream_size () +g3d_stream_sizegoffset g3d_stream_size (G3DStream *stream); + +Get the size in bytes of a stream. + + + +stream : + stream to get size from + +Returns : size of stream in bytes + + + +g3d_stream_eof () +g3d_stream_eofgboolean g3d_stream_eof (G3DStream *stream); + +Checks whether the stream has reached its end. + + + +stream : + the stream + +Returns : TRUE if no more data can be read, FALSE else. + + + +g3d_stream_is_seekable () +g3d_stream_is_seekablegboolean g3d_stream_is_seekable (G3DStream *stream); + +Get information whether it is possible to seek in a stream. + + + +stream : + the stream + +Returns : TRUE if seekable, FALSE else + + + +g3d_stream_get_uri () +g3d_stream_get_urigchar* g3d_stream_get_uri (G3DStream *stream); + +Get the URI of a stream + + + +stream : + the stream + +Returns : a non-NULL, zero-terminated string containing the URI of the +string. This return value should not be freed. + + + +g3d_stream_line () +g3d_stream_lineguint32 g3d_stream_line (G3DStream *stream); + +Get the current line number from stream. This only works if line are +consequently read with g3d_stream_read_line(), so it's only applicable +for text streams. + + + +stream : + stream to get line from + +Returns : current line number, may be 0 + + + +g3d_stream_read () +g3d_stream_readgsize g3d_stream_read (G3DStream *stream, + gpointer ptr, + gsize size); + +Reads a number of bytes from the stream. + + + +stream : + the stream to read from + +ptr : + pointer to memory storage + +size : + number of bytes to read + +Returns : number of bytes successfully read. + + + +g3d_stream_read_line () +g3d_stream_read_linegchar* g3d_stream_read_line (G3DStream *stream, + gchar *buf, + gsize size); + +Read a line (terminated by a newline character or end of file) from a +stream. + + + +stream : + stream to read a line from + +buf : + an allocated buffer to be filled + +size : + maximum length of line including terminating zero + +Returns : the read line or NULL in case of an error. + + + +g3d_stream_read_int8 () +g3d_stream_read_int8gint32 g3d_stream_read_int8 (G3DStream *stream); + +Read a 1 byte signed integer from file. + + + +stream : + the stream to read from + +Returns : The read value, 0 in case of error + + + +g3d_stream_read_int16_be () +g3d_stream_read_int16_begint32 g3d_stream_read_int16_be (G3DStream *stream); + +Read a 2 byte big-endian signed integer from file. + + + +stream : + the stream to read from + +Returns : The read value, 0 in case of error + + + +g3d_stream_read_int16_le () +g3d_stream_read_int16_legint32 g3d_stream_read_int16_le (G3DStream *stream); + +Read a 2 byte little-endian signed integer from file. + + + +stream : + the stream to read from + +Returns : The read value, 0 in case of error + + + +g3d_stream_read_int32_be () +g3d_stream_read_int32_begint32 g3d_stream_read_int32_be (G3DStream *stream); + +Read a 4 byte big-endian signed integer from file. + + + +stream : + the stream to read from + +Returns : The read value, 0 in case of error + + + +g3d_stream_read_int32_le () +g3d_stream_read_int32_legint32 g3d_stream_read_int32_le (G3DStream *stream); + +Read a 4 byte little-endian signed integer from file. + + + +stream : + the stream to read from + +Returns : The read value, 0 in case of error + + + +g3d_stream_read_float_be () +g3d_stream_read_float_beG3DFloat g3d_stream_read_float_be (G3DStream *stream); + +Read a 4 byte big-endian floating point number from file. + + + +stream : + the stream to read from + +Returns : The read value, 0 in case of error + + + +g3d_stream_read_float_le () +g3d_stream_read_float_leG3DFloat g3d_stream_read_float_le (G3DStream *stream); + +Read a 4 byte little-endian floating point number from file. + + + +stream : + the stream to read from + +Returns : The read value, 0 in case of error + + + +g3d_stream_read_double_be () +g3d_stream_read_double_beG3DDouble g3d_stream_read_double_be (G3DStream *stream); + +Read a 8 byte big-endian double-precision floating point number from file. + + + +stream : + the stream to read from + +Returns : The read value, 0 in case of error + + + +g3d_stream_read_double_le () +g3d_stream_read_double_leG3DDouble g3d_stream_read_double_le (G3DStream *stream); + +Read a 8 byte little-endian double-precision floating point number from +file. + + + +stream : + the stream to read from + +Returns : The read value, 0 in case of error + + + +g3d_stream_read_cstr () +g3d_stream_read_cstrgint32 g3d_stream_read_cstr (G3DStream *stream, + gchar *buffer, + gint32 max_len); + +Read a string (terminated by '\0') from stream + + + +stream : + the stream to read from + +buffer : + the buffer to fill + +max_len : + maximum number to read from stream + +Returns : number of bytes read from stream + + + +G3DStreamCloseFunc () +G3DStreamCloseFuncgint (*G3DStreamCloseFunc) (gpointer data); + +Callback function for g3d_stream_close(). + + + +data : + opaque stream data + +Returns : 0 on success, -1 else. + + + +G3DStreamEofFunc () +G3DStreamEofFuncgboolean (*G3DStreamEofFunc) (gpointer data); + +Callback function for g3d_stream_eof(). + + + +data : + opaque stream data + +Returns : TRUE on stream end-of-file, FALSE else. + + + +G3DStreamReadFunc () +G3DStreamReadFuncgsize (*G3DStreamReadFunc) (gpointer ptr, + gsize size, + gpointer data); + +Callback function for g3d_stream_read(). + + + +ptr : + buffer to read bytes into + +size : + number of bytes to read + +data : + opaque stream data + +Returns : number of bytes actually read. + + + +G3DStreamReadLineFunc () +G3DStreamReadLineFuncgchar* (*G3DStreamReadLineFunc) (gchar *buf, + gsize size, + gpointer data); + +Callback function for g3d_stream_read_line(). + + + +buf : + buffer to read bytes into + +size : + maximum size of buffer + +data : + opaque stream data + +Returns : The line buffer or NULL in case of an error. + + + +G3DStreamSeekFunc () +G3DStreamSeekFuncgint (*G3DStreamSeekFunc) (gpointer data, + goffset offset, + GSeekType whence); + +Callback function for g3d_stream_seek(). + + + +data : + opaque stream data + +offset : + seek offset + +whence : + seek type + +Returns : 0 on success, -1 else. + + + +G3DStreamSizeFunc () +G3DStreamSizeFuncgoffset (*G3DStreamSizeFunc) (gpointer data); + +Callback function for g3d_stream_size(). + + + +data : + opaque stream data + +Returns : size of stream. + + + +G3DStreamTellFunc () +G3DStreamTellFuncgoffset (*G3DStreamTellFunc) (gpointer data); + +Callback function for g3d_stream_tell(). + + + +data : + opaque stream data + +Returns : current stream position. + + + + + + + + +See Also +G3DStream + + + diff --git a/src/others/mimesh/libg3d-0.0.8/doc/api/xml/texture.xml b/src/others/mimesh/libg3d-0.0.8/doc/api/xml/texture.xml new file mode 100644 index 0000000..7720977 --- /dev/null +++ b/src/others/mimesh/libg3d-0.0.8/doc/api/xml/texture.xml @@ -0,0 +1,318 @@ + + + + +texture +3 +LIBG3D Library + + + +texture +Texture loading and manipulation + + + + +Synopsis + + + +#include <g3d/texture.h> + +#define G3D_FLAG_IMG_GREYSCALE +enum G3DTexEnv; + G3DImage; +G3DImage* g3d_texture_load_cached (G3DContext *context, + G3DModel *model, + const gchar *filename); +G3DImage* g3d_texture_load_from_stream (G3DContext *context, + G3DModel *model, + G3DStream *stream); +G3DImage* g3d_texture_load (G3DContext *context, + const gchar *filename); +void g3d_texture_free (G3DImage *texture); +gboolean g3d_texture_prepare (G3DImage *texture); +gboolean g3d_texture_flip_y (G3DImage *texture); +G3DImage* g3d_texture_merge_alpha (G3DImage *image, + G3DImage *aimage); + + + + + + + + + + + + +Description + +A texture is an image used in materials. Here are some helper functions, +mostly for cached loading of a G3DImage. + + + + + + +Details + +G3D_FLAG_IMG_GREYSCALE +G3D_FLAG_IMG_GREYSCALE#define G3D_FLAG_IMG_GREYSCALE (1L << 1) + + +The image just uses the red channel for grey value + + + + +enum G3DTexEnv +G3DTexEnvtypedef enum { + G3D_TEXENV_UNSPECIFIED = 0, + G3D_TEXENV_BLEND, + G3D_TEXENV_DECAL, + G3D_TEXENV_MODULATE, + G3D_TEXENV_REPLACE +} G3DTexEnv; + + +Specify how the texture should interact with other material properties. + + + + +G3D_TEXENV_UNSPECIFIED + unspecified, application decides + + + +G3D_TEXENV_BLEND + use blending + + + +G3D_TEXENV_DECAL + use as decal + + + +G3D_TEXENV_MODULATE + use modulate + + + +G3D_TEXENV_REPLACE + replace color + + + + +G3DImage +G3DImagetypedef struct { + gchar *name; + guint32 width; + guint32 height; + guint8 depth; + guint32 flags; + guint8 *pixeldata; + + guint32 tex_id; + G3DTexEnv tex_env; + G3DFloat tex_scale_u; + G3DFloat tex_scale_v; +} G3DImage; + + +Object containing a two-dimensional pixel image. + + + + +gchar *name; + name of image + + + +guint32 width; + width of image in pixels + + + +guint32 height; + height of image in pixels + + + +guint8 depth; + depth of image in bits + + + +guint32 flags; + flags + + + +guint8 *pixeldata; + the binary image data + + + +guint32 tex_id; + the OpenGL texture id, should be unique model-wide + + + +G3DTexEnv tex_env; + texture environment flags + + + +G3DFloat tex_scale_u; + factor scaling texture width, should be 1.0 for most cases + + + +G3DFloat tex_scale_v; + factor scaling texture height, should be 1.0 for most cases + + + + +g3d_texture_load_cached () +g3d_texture_load_cachedG3DImage* g3d_texture_load_cached (G3DContext *context, + G3DModel *model, + const gchar *filename); + +Loads a texture image from file and attaches it to a hash table in the +model. On a second try to load this texture it is returned from cache. + + + +context : + a valid context + +model : + a valid model + +filename : + the file name of the texture to load + +Returns : the texture image + + + +g3d_texture_load_from_stream () +g3d_texture_load_from_streamG3DImage* g3d_texture_load_from_stream (G3DContext *context, + G3DModel *model, + G3DStream *stream); + +Load a texture image from a stream. The file type is determined by the +extension of the stream URI, so it should be valid. If model is not NULL +the texture image is cached (or retrieved from cache if available). + + + +context : + a valid context + +model : + a valid model or NULL + +stream : + an open stream + +Returns : the texture image or NULL in case of an error. + + + +g3d_texture_load () +g3d_texture_loadG3DImage* g3d_texture_load (G3DContext *context, + const gchar *filename); + +Load a texture from a file. The type of file is determined by the file +extension. + + + +context : + a valid context + +filename : + the file name of the texture + +Returns : the texture image or NULL in case of an error. + + + +g3d_texture_free () +g3d_texture_freevoid g3d_texture_free (G3DImage *texture); + +Frees all memory used by this texture image. + + + +texture : + a texture image + + + +g3d_texture_prepare () +g3d_texture_preparegboolean g3d_texture_prepare (G3DImage *texture); + +Resizes the image to dimensions which are a power of 2 to be +usable as an OpenGL texture. +(FIXME: unimplemented) + + + +texture : + a texture image + +Returns : TRUE on success, FALSE else + + + +g3d_texture_flip_y () +g3d_texture_flip_ygboolean g3d_texture_flip_y (G3DImage *texture); + +Mirror the image along the x axis - all y coordinates are inverted. + + + +texture : + a texture image + +Returns : TRUE on success, FALSE on error. + + + +g3d_texture_merge_alpha () +g3d_texture_merge_alphaG3DImage* g3d_texture_merge_alpha (G3DImage *image, + G3DImage *aimage); + +Merges alpha information from aimage into output image. If image is NULL a +new image is created, else image is returned with alpha from aimage. + + + +image : + a texture image or NULL + +aimage : + an image with alpha information + +Returns : a texture image or NULL in case of an error. + + + + + + + + + diff --git a/src/others/mimesh/libg3d-0.0.8/doc/api/xml/types.xml b/src/others/mimesh/libg3d-0.0.8/doc/api/xml/types.xml new file mode 100644 index 0000000..c12d48b --- /dev/null +++ b/src/others/mimesh/libg3d-0.0.8/doc/api/xml/types.xml @@ -0,0 +1,92 @@ + + + + +types +3 +LIBG3D Library + + + +types +Basic types + + + + +Synopsis + + + +#include <g3d/types.h> + +typedef G3DSingle; +typedef G3DDouble; +typedef G3DFloat; +#define G3D_FLOAT_IS_DOUBLE + + + + + + + + + + + + +Description + +Some basic type abstractions used in libg3d. + + + + + + +Details + +G3DSingle +G3DSingletypedef gfloat G3DSingle; + + +Single-precision floating point number. + + + + +G3DDouble +G3DDoubletypedef gdouble G3DDouble; + + +Double-precision floating point number. + + + + +G3DFloat +G3DFloat +Default floating point type. If used consistently in the library (not the +case at the moment) this type can be switched between single and double +precision at compile-time. + + + + +G3D_FLOAT_IS_DOUBLE +G3D_FLOAT_IS_DOUBLE#define G3D_FLOAT_IS_DOUBLE + +A flag indicating type of G3DFloat. It is TRUE if G3DFloat is double and +FALSE if G3DFloat is single precision. + + + + + + + + + + diff --git a/src/others/mimesh/libg3d-0.0.8/doc/api/xml/vector.xml b/src/others/mimesh/libg3d-0.0.8/doc/api/xml/vector.xml new file mode 100644 index 0000000..d306c67 --- /dev/null +++ b/src/others/mimesh/libg3d-0.0.8/doc/api/xml/vector.xml @@ -0,0 +1,184 @@ + + + + +vector +3 +LIBG3D Library + + + +vector +Vector manipulation and calculation + + + + +Synopsis + + + +#include <g3d/vector.h> + +typedef G3DVector; +gboolean g3d_vector_normal (G3DFloat ax, + G3DFloat ay, + G3DFloat az, + G3DFloat bx, + G3DFloat by, + G3DFloat bz, + G3DFloat *nx, + G3DFloat *ny, + G3DFloat *nz); +gboolean g3d_vector_unify (G3DFloat *nx, + G3DFloat *ny, + G3DFloat *nz); +gboolean g3d_vector_transform (G3DFloat *x, + G3DFloat *y, + G3DFloat *z, + G3DMatrix *matrix); + + + + + + + + + + + + +Description + +A vector is a one-dimensional array of floating point data. + + +Declare it as statically as: + + +G3DVector vector[3]; + + +or allocate it dynamically with: + + +G3DVector *vector = g3d_vector_new(3, 1); + + + + + + +Details + +G3DVector +G3DVectortypedef G3DFloat G3DVector; + + +Vector element type. + + + + +g3d_vector_normal () +g3d_vector_normalgboolean g3d_vector_normal (G3DFloat ax, + G3DFloat ay, + G3DFloat az, + G3DFloat bx, + G3DFloat by, + G3DFloat bz, + G3DFloat *nx, + G3DFloat *ny, + G3DFloat *nz); + +calculate the normal from a plane defined by two vectors + + + +ax : + x component first vector + +ay : + y component first vector + +az : + z component first vector + +bx : + x component second vector + +by : + y component second vector + +bz : + z component second vector + +nx : + x component resulting normal + +ny : + y component resulting normal + +nz : + z component resulting normal + +Returns : TRUE on success, FALSE else + + + +g3d_vector_unify () +g3d_vector_unifygboolean g3d_vector_unify (G3DFloat *nx, + G3DFloat *ny, + G3DFloat *nz); + +Transforms the given vector to the unit vector. + + + +nx : + x component of vector + +ny : + y component of vector + +nz : + z component of vector + +Returns : TRUE on success, FALSE else + + + +g3d_vector_transform () +g3d_vector_transformgboolean g3d_vector_transform (G3DFloat *x, + G3DFloat *y, + G3DFloat *z, + G3DMatrix *matrix); + +Transforms the given vector corresponding to the given matrix + + + +x : + x component of vector + +y : + y component of vector + +z : + z component of vector + +matrix : + transformation matrix (4x4) + +Returns : TRUE on success, FALSE else + + + + + + + + + diff --git a/src/others/mimesh/libg3d-0.0.8/doc/support_matrix/Makefile b/src/others/mimesh/libg3d-0.0.8/doc/support_matrix/Makefile new file mode 100644 index 0000000..597b308 --- /dev/null +++ b/src/others/mimesh/libg3d-0.0.8/doc/support_matrix/Makefile @@ -0,0 +1,360 @@ +# Makefile.in generated by automake 1.10.1 from Makefile.am. +# doc/support_matrix/Makefile. Generated from Makefile.in by configure. + +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + + + +pkgdatadir = $(datadir)/libg3d +pkglibdir = $(libdir)/libg3d +pkgincludedir = $(includedir)/libg3d +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +build_triplet = x86_64-unknown-linux-gnu +host_triplet = x86_64-unknown-linux-gnu +subdir = doc/support_matrix +DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/m4/acinclude.m4 \ + $(top_srcdir)/m4/glib-2.0.m4 $(top_srcdir)/m4/gtk-2.0.m4 \ + $(top_srcdir)/m4/gtk-doc.m4 $(top_srcdir)/m4/libtool.m4 \ + $(top_srcdir)/m4/libxml2.m4 $(top_srcdir)/m4/win32.m4 \ + $(top_srcdir)/configure.in +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +mkinstalldirs = $(install_sh) -d +CONFIG_HEADER = $(top_builddir)/include/g3d/config.h +CONFIG_CLEAN_FILES = +SOURCES = +DIST_SOURCES = +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +ACLOCAL = ${SHELL} /home/dvs1/VirtualWorlds/SOURCE/SledjHamr/src/others/mimesh/libg3d-0.0.8/config/missing --run aclocal-1.10 +AMTAR = ${SHELL} /home/dvs1/VirtualWorlds/SOURCE/SledjHamr/src/others/mimesh/libg3d-0.0.8/config/missing --run tar +AR = ar +AS = as +AUTOCONF = ${SHELL} /home/dvs1/VirtualWorlds/SOURCE/SledjHamr/src/others/mimesh/libg3d-0.0.8/config/missing --run autoconf +AUTOHEADER = ${SHELL} /home/dvs1/VirtualWorlds/SOURCE/SledjHamr/src/others/mimesh/libg3d-0.0.8/config/missing --run autoheader +AUTOMAKE = ${SHELL} /home/dvs1/VirtualWorlds/SOURCE/SledjHamr/src/others/mimesh/libg3d-0.0.8/config/missing --run automake-1.10 +AWK = gawk +CC = gcc +CCDEPMODE = depmode=gcc3 +CFLAGS = -g -O2 +CPP = gcc -E +CPPFLAGS = +CXX = g++ +CXXCPP = g++ -E +CXXDEPMODE = depmode=gcc3 +CXXFLAGS = -g -O2 +CYGPATH_W = echo +DBG_CFLAGS = -O2 +DEBUG = 0 +DEFS = -DHAVE_CONFIG_H +DEPDIR = .deps +DLLTOOL = dlltool +ECHO = echo +ECHO_C = +ECHO_N = -n +ECHO_T = +EGREP = /bin/grep -E +EXEEXT = +F77 = +FFLAGS = +GDKPIXBUF_CFLAGS = -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 +GDKPIXBUF_LIBS = -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lglib-2.0 +GLIB_CFLAGS = -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include +GLIB_GENMARSHAL = glib-genmarshal +GLIB_LIBS = -Wl,--export-dynamic -pthread -lgmodule-2.0 -lrt -lgobject-2.0 -lglib-2.0 +GLIB_MKENUMS = glib-mkenums +GOBJECT_QUERY = gobject-query +GREP = /bin/grep +GTKDOC_CHECK = /usr/bin/gtkdoc-check +GTK_CFLAGS = -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 +GTK_LIBS = -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lglib-2.0 +HTML_DIR = ${datadir}/gtk-doc/html +INSTALL = /usr/bin/install -c +INSTALL_DATA = ${INSTALL} -m 644 +INSTALL_PROGRAM = ${INSTALL} +INSTALL_SCRIPT = ${INSTALL} +INSTALL_STRIP_PROGRAM = $(install_sh) -c -s +LDFLAGS = +LEX = flex +LEXLIB = -lfl +LEX_OUTPUT_ROOT = lex.yy +LIBGSF_CFLAGS = -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/libgsf-1 +LIBGSF_LIBS = -lgsf-1 -lgobject-2.0 -lxml2 -lglib-2.0 +LIBOBJS = +LIBS = -lm +LIBTOOL = $(SHELL) $(top_builddir)/libtool +LIBXML2_CFLAGS = -I/usr/include/libxml2 +LIBXML2_LIBS = -L/usr/lib/x86_64-linux-gnu -lxml2 +LN_S = ln -s +LTLIBOBJS = +LTVERSION = 0:8:0 +MAGIC_LIBS = -lmagic +MAKEINFO = ${SHELL} /home/dvs1/VirtualWorlds/SOURCE/SledjHamr/src/others/mimesh/libg3d-0.0.8/config/missing --run makeinfo +MATH_LIBS = -lm +MKDIR_P = /bin/mkdir -p +OBJDUMP = objdump +OBJEXT = o +PACKAGE = libg3d +PACKAGE_BUGREPORT = +PACKAGE_NAME = +PACKAGE_STRING = +PACKAGE_TARNAME = +PACKAGE_VERSION = +PATH_SEPARATOR = : +PKG_CONFIG = /usr/bin/pkg-config +PLUGINS_LDFLAGS = -avoid-version -export-dynamic +RANLIB = ranlib +SET_MAKE = +SHELL = /bin/bash +STRIP = strip +VERSION = 0.0.8 +XML2_CONFIG = /usr/bin/xml2-config +XML_CPPFLAGS = -I/usr/include/libxml2 +XML_LIBS = -L/usr/lib/x86_64-linux-gnu -lxml2 +Z_CFLAGS = +Z_LIBS = -lz +abs_builddir = /home/dvs1/VirtualWorlds/SOURCE/SledjHamr/src/others/mimesh/libg3d-0.0.8/doc/support_matrix +abs_srcdir = /home/dvs1/VirtualWorlds/SOURCE/SledjHamr/src/others/mimesh/libg3d-0.0.8/doc/support_matrix +abs_top_builddir = /home/dvs1/VirtualWorlds/SOURCE/SledjHamr/src/others/mimesh/libg3d-0.0.8 +abs_top_srcdir = /home/dvs1/VirtualWorlds/SOURCE/SledjHamr/src/others/mimesh/libg3d-0.0.8 +ac_ct_CC = gcc +ac_ct_CXX = g++ +ac_ct_F77 = +am__include = include +am__leading_dot = . +am__quote = +am__tar = ${AMTAR} chof - "$$tardir" +am__untar = ${AMTAR} xf - +bindir = ${exec_prefix}/bin +build = x86_64-unknown-linux-gnu +build_alias = +build_cpu = x86_64 +build_os = linux-gnu +build_vendor = unknown +builddir = . +datadir = ${datarootdir} +datarootdir = ${prefix}/share +docdir = ${datarootdir}/doc/${PACKAGE} +dvidir = ${docdir} +exec_prefix = ${prefix} +host = x86_64-unknown-linux-gnu +host_alias = +host_cpu = x86_64 +host_os = linux-gnu +host_vendor = unknown +htmldir = ${docdir} +includedir = ${prefix}/include +infodir = ${datarootdir}/info +install_sh = $(SHELL) /home/dvs1/VirtualWorlds/SOURCE/SledjHamr/src/others/mimesh/libg3d-0.0.8/config/install-sh +libdir = ${exec_prefix}/lib +libexecdir = ${exec_prefix}/libexec +localedir = ${datarootdir}/locale +localstatedir = ${prefix}/var +mandir = ${datarootdir}/man +mkdir_p = /bin/mkdir -p +oldincludedir = /usr/include +pdfdir = ${docdir} +prefix = /usr/local +program_transform_name = s,x,x, +psdir = ${docdir} +sbindir = ${exec_prefix}/sbin +sharedstatedir = ${prefix}/com +srcdir = . +sysconfdir = ${prefix}/etc +target_alias = +top_builddir = ../.. +top_srcdir = ../.. +EXTRA_DIST = matrix.html +all: all-am + +.SUFFIXES: +$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ + && exit 0; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu doc/support_matrix/Makefile'; \ + cd $(top_srcdir) && \ + $(AUTOMAKE) --gnu doc/support_matrix/Makefile +.PRECIOUS: Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ + esac; + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +$(top_srcdir)/configure: $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +mostlyclean-libtool: + -rm -f *.lo + +clean-libtool: + -rm -rf .libs _libs +tags: TAGS +TAGS: + +ctags: CTAGS +CTAGS: + + +distdir: $(DISTFILES) + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + list='$(DISTFILES)'; \ + dist_files=`for file in $$list; do echo $$file; done | \ + sed -e "s|^$$srcdirstrip/||;t" \ + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ + case $$dist_files in \ + */*) $(MKDIR_P) `echo "$$dist_files" | \ + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ + sort -u` ;; \ + esac; \ + for file in $$dist_files; do \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ + fi; \ + cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ + else \ + test -f $(distdir)/$$file \ + || cp -p $$d/$$file $(distdir)/$$file \ + || exit 1; \ + fi; \ + done +check-am: all-am +check: check-am +all-am: Makefile +installdirs: +install: install-am +install-exec: install-exec-am +install-data: install-data-am +uninstall: uninstall-am + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-am +install-strip: + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + `test -z '$(STRIP)' || \ + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." +clean: clean-am + +clean-am: clean-generic clean-libtool mostlyclean-am + +distclean: distclean-am + -rm -f Makefile +distclean-am: clean-am distclean-generic + +dvi: dvi-am + +dvi-am: + +html: html-am + +info: info-am + +info-am: + +install-data-am: + +install-dvi: install-dvi-am + +install-exec-am: + +install-html: install-html-am + +install-info: install-info-am + +install-man: + +install-pdf: install-pdf-am + +install-ps: install-ps-am + +installcheck-am: + +maintainer-clean: maintainer-clean-am + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-am + +mostlyclean-am: mostlyclean-generic mostlyclean-libtool + +pdf: pdf-am + +pdf-am: + +ps: ps-am + +ps-am: + +uninstall-am: + +.MAKE: install-am install-strip + +.PHONY: all all-am check check-am clean clean-generic clean-libtool \ + distclean distclean-generic distclean-libtool distdir dvi \ + dvi-am html html-am info info-am install install-am \ + install-data install-data-am install-dvi install-dvi-am \ + install-exec install-exec-am install-html install-html-am \ + install-info install-info-am install-man install-pdf \ + install-pdf-am install-ps install-ps-am install-strip \ + installcheck installcheck-am installdirs maintainer-clean \ + maintainer-clean-generic mostlyclean mostlyclean-generic \ + mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am + +doc: + ./update_import_plugins.pl + ./generate_html_page.pl +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: diff --git a/src/others/mimesh/libg3d-0.0.8/doc/support_matrix/Makefile.am b/src/others/mimesh/libg3d-0.0.8/doc/support_matrix/Makefile.am new file mode 100644 index 0000000..0a88ed7 --- /dev/null +++ b/src/others/mimesh/libg3d-0.0.8/doc/support_matrix/Makefile.am @@ -0,0 +1,5 @@ +doc: + ./update_import_plugins.pl + ./generate_html_page.pl + +EXTRA_DIST = matrix.html diff --git a/src/others/mimesh/libg3d-0.0.8/doc/support_matrix/Makefile.in b/src/others/mimesh/libg3d-0.0.8/doc/support_matrix/Makefile.in new file mode 100644 index 0000000..b381be7 --- /dev/null +++ b/src/others/mimesh/libg3d-0.0.8/doc/support_matrix/Makefile.in @@ -0,0 +1,360 @@ +# Makefile.in generated by automake 1.10.1 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +@SET_MAKE@ +VPATH = @srcdir@ +pkgdatadir = $(datadir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +build_triplet = @build@ +host_triplet = @host@ +subdir = doc/support_matrix +DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/m4/acinclude.m4 \ + $(top_srcdir)/m4/glib-2.0.m4 $(top_srcdir)/m4/gtk-2.0.m4 \ + $(top_srcdir)/m4/gtk-doc.m4 $(top_srcdir)/m4/libtool.m4 \ + $(top_srcdir)/m4/libxml2.m4 $(top_srcdir)/m4/win32.m4 \ + $(top_srcdir)/configure.in +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +mkinstalldirs = $(install_sh) -d +CONFIG_HEADER = $(top_builddir)/include/g3d/config.h +CONFIG_CLEAN_FILES = +SOURCES = +DIST_SOURCES = +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +ACLOCAL = @ACLOCAL@ +AMTAR = @AMTAR@ +AR = @AR@ +AS = @AS@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CFLAGS = @CFLAGS@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CXX = @CXX@ +CXXCPP = @CXXCPP@ +CXXDEPMODE = @CXXDEPMODE@ +CXXFLAGS = @CXXFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DBG_CFLAGS = @DBG_CFLAGS@ +DEBUG = @DEBUG@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ +ECHO = @ECHO@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ +EXEEXT = @EXEEXT@ +F77 = @F77@ +FFLAGS = @FFLAGS@ +GDKPIXBUF_CFLAGS = @GDKPIXBUF_CFLAGS@ +GDKPIXBUF_LIBS = @GDKPIXBUF_LIBS@ +GLIB_CFLAGS = @GLIB_CFLAGS@ +GLIB_GENMARSHAL = @GLIB_GENMARSHAL@ +GLIB_LIBS = @GLIB_LIBS@ +GLIB_MKENUMS = @GLIB_MKENUMS@ +GOBJECT_QUERY = @GOBJECT_QUERY@ +GREP = @GREP@ +GTKDOC_CHECK = @GTKDOC_CHECK@ +GTK_CFLAGS = @GTK_CFLAGS@ +GTK_LIBS = @GTK_LIBS@ +HTML_DIR = @HTML_DIR@ +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +LDFLAGS = @LDFLAGS@ +LEX = @LEX@ +LEXLIB = @LEXLIB@ +LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@ +LIBGSF_CFLAGS = @LIBGSF_CFLAGS@ +LIBGSF_LIBS = @LIBGSF_LIBS@ +LIBOBJS = @LIBOBJS@ +LIBS = @LIBS@ +LIBTOOL = @LIBTOOL@ +LIBXML2_CFLAGS = @LIBXML2_CFLAGS@ +LIBXML2_LIBS = @LIBXML2_LIBS@ +LN_S = @LN_S@ +LTLIBOBJS = @LTLIBOBJS@ +LTVERSION = @LTVERSION@ +MAGIC_LIBS = @MAGIC_LIBS@ +MAKEINFO = @MAKEINFO@ +MATH_LIBS = @MATH_LIBS@ +MKDIR_P = @MKDIR_P@ +OBJDUMP = @OBJDUMP@ +OBJEXT = @OBJEXT@ +PACKAGE = @PACKAGE@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_STRING = @PACKAGE_STRING@ +PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_VERSION = @PACKAGE_VERSION@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +PKG_CONFIG = @PKG_CONFIG@ +PLUGINS_LDFLAGS = @PLUGINS_LDFLAGS@ +RANLIB = @RANLIB@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +STRIP = @STRIP@ +VERSION = @VERSION@ +XML2_CONFIG = @XML2_CONFIG@ +XML_CPPFLAGS = @XML_CPPFLAGS@ +XML_LIBS = @XML_LIBS@ +Z_CFLAGS = @Z_CFLAGS@ +Z_LIBS = @Z_LIBS@ +abs_builddir = @abs_builddir@ +abs_srcdir = @abs_srcdir@ +abs_top_builddir = @abs_top_builddir@ +abs_top_srcdir = @abs_top_srcdir@ +ac_ct_CC = @ac_ct_CC@ +ac_ct_CXX = @ac_ct_CXX@ +ac_ct_F77 = @ac_ct_F77@ +am__include = @am__include@ +am__leading_dot = @am__leading_dot@ +am__quote = @am__quote@ +am__tar = @am__tar@ +am__untar = @am__untar@ +bindir = @bindir@ +build = @build@ +build_alias = @build_alias@ +build_cpu = @build_cpu@ +build_os = @build_os@ +build_vendor = @build_vendor@ +builddir = @builddir@ +datadir = @datadir@ +datarootdir = @datarootdir@ +docdir = @docdir@ +dvidir = @dvidir@ +exec_prefix = @exec_prefix@ +host = @host@ +host_alias = @host_alias@ +host_cpu = @host_cpu@ +host_os = @host_os@ +host_vendor = @host_vendor@ +htmldir = @htmldir@ +includedir = @includedir@ +infodir = @infodir@ +install_sh = @install_sh@ +libdir = @libdir@ +libexecdir = @libexecdir@ +localedir = @localedir@ +localstatedir = @localstatedir@ +mandir = @mandir@ +mkdir_p = @mkdir_p@ +oldincludedir = @oldincludedir@ +pdfdir = @pdfdir@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +psdir = @psdir@ +sbindir = @sbindir@ +sharedstatedir = @sharedstatedir@ +srcdir = @srcdir@ +sysconfdir = @sysconfdir@ +target_alias = @target_alias@ +top_builddir = @top_builddir@ +top_srcdir = @top_srcdir@ +EXTRA_DIST = matrix.html +all: all-am + +.SUFFIXES: +$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ + && exit 0; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu doc/support_matrix/Makefile'; \ + cd $(top_srcdir) && \ + $(AUTOMAKE) --gnu doc/support_matrix/Makefile +.PRECIOUS: Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ + esac; + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +$(top_srcdir)/configure: $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +mostlyclean-libtool: + -rm -f *.lo + +clean-libtool: + -rm -rf .libs _libs +tags: TAGS +TAGS: + +ctags: CTAGS +CTAGS: + + +distdir: $(DISTFILES) + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + list='$(DISTFILES)'; \ + dist_files=`for file in $$list; do echo $$file; done | \ + sed -e "s|^$$srcdirstrip/||;t" \ + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ + case $$dist_files in \ + */*) $(MKDIR_P) `echo "$$dist_files" | \ + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ + sort -u` ;; \ + esac; \ + for file in $$dist_files; do \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ + fi; \ + cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ + else \ + test -f $(distdir)/$$file \ + || cp -p $$d/$$file $(distdir)/$$file \ + || exit 1; \ + fi; \ + done +check-am: all-am +check: check-am +all-am: Makefile +installdirs: +install: install-am +install-exec: install-exec-am +install-data: install-data-am +uninstall: uninstall-am + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-am +install-strip: + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + `test -z '$(STRIP)' || \ + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." +clean: clean-am + +clean-am: clean-generic clean-libtool mostlyclean-am + +distclean: distclean-am + -rm -f Makefile +distclean-am: clean-am distclean-generic + +dvi: dvi-am + +dvi-am: + +html: html-am + +info: info-am + +info-am: + +install-data-am: + +install-dvi: install-dvi-am + +install-exec-am: + +install-html: install-html-am + +install-info: install-info-am + +install-man: + +install-pdf: install-pdf-am + +install-ps: install-ps-am + +installcheck-am: + +maintainer-clean: maintainer-clean-am + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-am + +mostlyclean-am: mostlyclean-generic mostlyclean-libtool + +pdf: pdf-am + +pdf-am: + +ps: ps-am + +ps-am: + +uninstall-am: + +.MAKE: install-am install-strip + +.PHONY: all all-am check check-am clean clean-generic clean-libtool \ + distclean distclean-generic distclean-libtool distdir dvi \ + dvi-am html html-am info info-am install install-am \ + install-data install-data-am install-dvi install-dvi-am \ + install-exec install-exec-am install-html install-html-am \ + install-info install-info-am install-man install-pdf \ + install-pdf-am install-ps install-ps-am install-strip \ + installcheck installcheck-am installdirs maintainer-clean \ + maintainer-clean-generic mostlyclean mostlyclean-generic \ + mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am + +doc: + ./update_import_plugins.pl + ./generate_html_page.pl +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: diff --git a/src/others/mimesh/libg3d-0.0.8/doc/support_matrix/matrix.html b/src/others/mimesh/libg3d-0.0.8/doc/support_matrix/matrix.html new file mode 100644 index 0000000..44d4e8e --- /dev/null +++ b/src/others/mimesh/libg3d-0.0.8/doc/support_matrix/matrix.html @@ -0,0 +1,825 @@ + + + libg3d support matrix + + + + + hide content | + show content + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
 3mf
3dmf
b3d
3ds
prj
ac
acc
acfar
dof
aseblendc4dcobdaedpmdxffltglbbmp
sgi
dds
(gdk-pixbuf supported types)
iobjoe
car
kmzdat
mpd
ldr
lcdlw
lwb
lwo
maxmbmd2md3nffobjosmq3o
q3s
r4rbhskpstl3dotestvrml
iv
wrl
description         COLLADADarkPlacesModel OpenFlightUltimateStuntsHeight field VDriftGoogle Earth container, models handled by COLLADA plugin (imp_dae)LDrawLeoCAD 3D Studio MAXMayaQuake 2 models Neutral file format OpenStreetMapQuick3DReflections 4Discworld Noir, VERY experimentalSketchUp Total Annihilationplugin to test some concepts and routines in libg3d, not loading any filesVRMLv1, InventorVRML97
built without EXPERIMENTAL                                     
depends on libraries except glib          libxml2     gdk-pixbuf for more image types   libxml2, libgsf    libgsf      libxml2        flex 
depends on external data files at runtime    airfoil data in $AIRFOIL_DIR               LDraw parts library in $LDRAWDIR LeoCAD parts library in $LEOCAD_LIB                 
libmagic detector    binary with no magic           no static list possible  only for .joe files  partly, .dat has no real magic        text format w/o magic        VRML, not Inventor 
G3DStream support     ar is decomressed to local files             has to be real file                   
Works without seeking    seeking may be removed        not yet, should be possible        some data at end of file has to be read first     may be possible          not file-based  
Progress bar updates                   bigger jumps                  
Container format ASCII files not supported   just struct serialization, different for every version    basic support for v5, v6       handled by image plugins     some versions may be unsupported   only binary, no ASCII           .3do works, .ufo not   
Object grouping no hierarchy yet              just one mesh            optional, but not working yet          
Object transformation                                     
Vertex data                                     
Normal data                           not yet implemented          
Face data                     fails: f15compl.lw                
Face colors               no external color information possible yet      some fail: wrong color indices       self-defined         
Face transparency                                     
Texture images      partly                   some guessing            
Texture coordinates (UV)                           not yet implemented          
Texture mapping parameters                                     
+ + -- cgit v1.1