ade8e6e8eficosahedron also done wrote for easy declaring of interface functions
dcnieho
2012-03-16 08:36:48 +00:00
b6f616f685made some macros to reduce code duplication made naming completely consistent now
dcnieho
2012-03-16 07:55:12 +00:00
4f9c00faa7octahedron also done another pass at making all variable types consistent added some direct mode drawing code for debugging
dcnieho
2012-03-16 07:24:34 +00:00
5bb67c1c82now a toggle for perspective/orthogonal projection in shapes demo
dcnieho
2012-03-16 06:05:33 +00:00
f692084300outer radius parameter in shapes demo now doubles as size for all the other objects that support a size (luckily many don't, just glScale!) moved text a bit more to corner of screen so its more out of the way
dcnieho
2012-03-16 05:08:39 +00:00
92b1d69dd4dSize parameter of Cube now works correctly again Fixed some inconsistent Macro naming and variable types
dcnieho
2012-03-16 05:06:31 +00:00
0eb4534962now using one function to generate geometry from the lists of vertices, normals and vertex indices Geometry lists now stored in 1D arrays
dcnieho
2012-03-16 04:49:17 +00:00
fe5c7db449got one fo the cube's normals wrong
dcnieho
2012-03-16 04:23:48 +00:00
eb95f57fa6array size second dim is simply 3...
dcnieho
2012-03-16 04:22:34 +00:00
40e7dfa35cI have these nice variables indicating whether the geometry cache for a certain object was already filled, but i never set them to true...
dcnieho
2012-03-16 03:17:37 +00:00
833166240fCube also moved to glDrawElements
dcnieho
2012-03-16 03:14:23 +00:00
d3550b00d9also did Sierpinski sponge
dcnieho
2012-03-16 02:01:59 +00:00
19a3927adcinitial start at rewrite of fg_geometry functions, using glDrawArrays. Tetrahedon done as example (seems to work well, but further comments pending) Done restructuring of the file as well
dcnieho
2012-03-16 00:40:15 +00:00
bae0c12952Add pkg-config script (cmake changes added by mistake in previous commit)
beuc
2012-03-15 20:51:24 +00:00
02880439edCMake: Move -DANDROID in the toolchain script, to ease reuse of this file
beuc
2012-03-15 20:48:32 +00:00
41c6d2ada6A few fixes in cygwin docs
beuc
2012-03-15 20:37:41 +00:00
e74cb052f0Error handling for eglSwapBuffers
beuc
2012-03-15 19:52:16 +00:00
792977034ano need for a message on MSVC that we hide insecure CRT warnings
dcnieho
2012-03-15 03:07:57 +00:00
cb228b70f0oops, generating freeglutdll.def was not specific to MSVC
dcnieho
2012-03-15 03:06:42 +00:00
0cfd678fdaconverted all tabs to spaces for CMake file, eases editing and indenting in diffs looks right
dcnieho
2012-03-15 02:34:33 +00:00
7bd8533032FreeGLUT version number is now only defined in CMake file. All other files containing a version number are now automatically generated upon configure
dcnieho
2012-03-15 02:30:50 +00:00
005fa934aeand again some more documentation of what kind of version is referred to
dcnieho
2012-03-15 02:24:06 +00:00
4d7086a873added a bit more doc
dcnieho
2012-03-15 02:15:54 +00:00
394f2c0538just a typo
dcnieho
2012-03-15 01:50:44 +00:00
b83545263cremoved parts from readme that are definately outdated. The rest is useful and will need to be massaged into a helpful text before 3.0 release
dcnieho
2012-03-14 03:50:59 +00:00
67c4e24bc1also added build64 to list of ignores
dcnieho
2012-03-14 03:38:47 +00:00
e5c97b977a- forgot to remove autogen.sh previously along with the rest of the autotools stuff - removed other random build files that have accumulated over time. Kdevelop project files, microsoft nmake files, etc.
jtsiomb
2012-03-13 19:36:28 +00:00
03dc75a452Removed autotools build files (I think I got all of them, did I?)
jtsiomb
2012-03-13 19:24:01 +00:00
15e9bb8752Added a few more details to README.cmake
jtsiomb
2012-03-13 19:05:32 +00:00
64fb938163Removed VS2008 and VS2010 files set ignore for my /build directory, removed ignore for config.h.in
dcnieho
2012-03-13 11:08:26 +00:00
ed02f5da91found both SET(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/bin) and SET(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin) were used, removed the second (deprecated) commands This results in shared libraries being build in /bin on windows, but not other platforms, obviating the need to copy dlls to /bin. Documented this the copy of fractals.dat should now work on all platforms (hopefully)
dcnieho
2012-03-13 11:03:23 +00:00
b6e8aa6776moved glutTimerFunc in timer demo
dcnieho
2012-03-12 16:33:46 +00:00
19095d15bfadded to CMake a setup to copy shared lib (MSVC only right now) and fractals.dat to demo binary folder if demos are built
dcnieho
2012-03-12 15:41:39 +00:00
b16eb164cacleaneup \machine setting for MSVC, now only for 64bit static libs, only onwe for which needed. Added a comment showing why its needed
dcnieho
2012-03-12 07:26:37 +00:00
b2159329f2.def and .rc file were appended to source list AFTER target was defined, so moved them up in the file now setting target machine for linker, or we get in trouble at least with static libs on x64
dcnieho
2012-03-12 05:07:35 +00:00
d3496a2968now only setting FREEGLUT_EXPORTS and FREEGLUT_STATIC for the shared and static dll/lib respectively, instead of globally defining those for all targets That revealed the static build of the demos is broken, needed to add the FREEGLUT_STATIC definition there too Not including .def file on windows if 64 bit build.
dcnieho
2012-03-12 04:24:40 +00:00
fe9b63c890now use unsigned __int64 for time type when on MSVC, that is supported down to at least MSVC6 (thanks Sisyphus!) Also, type present checks are not done if stdint or inttypes headers are found, no need for them then.
dcnieho
2012-03-12 03:32:53 +00:00
83672b987cHAVE_ULONG_LONG now only defined when unsigned long long is available
dcnieho
2012-03-11 23:35:11 +00:00
2930d1d941Rename Android and EGL files
beuc
2012-03-11 16:01:29 +00:00
2549248d0cNeed for our XParseGeometry implementation now detected by CMake
dcnieho
2012-03-11 15:26:01 +00:00
b66e4bfa9dand some more renames
dcnieho
2012-03-11 15:14:33 +00:00
ed993a1882moved common files back to src root renamed (a bunch of) the freeglut_ prefixes to fg_ did the necessary edits of the source files (I hope)
dcnieho
2012-03-11 14:59:56 +00:00
e78202b0aftimers internally now use 64bit unsigned int, if available External timer info (glutGet) unchanged. Some work to do to improve Windows timers beyond what it is now...
dcnieho
2012-03-11 13:03:14 +00:00
70e2afb9ccCMake: option to build with OpenGL ES
beuc
2012-03-11 09:18:15 +00:00
c8a8d03fc5Add base Android and EGL code
beuc
2012-03-11 08:55:24 +00:00
cf7613066dadded the timer demo
jtsiomb
2012-03-10 14:55:50 +00:00
0c5025cc85added not about soversion for those not knowledgable (like me). Thanks Sylvain!
dcnieho
2012-03-10 12:53:50 +00:00
5cc61b4c30CMake updates: - no longer trying to link with m.lib (tht maths for linux) - now building demos for static and for shared library, depending on which libraries are created - TARGET_LINK_LIBRARIES statement conditional on whether the relevant shared/static library is built
dcnieho
2012-03-10 11:08:44 +00:00
429507ee23in freeglut_init set gamemode defaults to -1 (no change from current display mode) so that it is not attempted to change the display mode to some arbitrary default when entering gamemode (only applies if glutGameModeString is never called)
dcnieho
2012-03-10 03:17:55 +00:00
ec322806c9moved some windows only code from common to windows specific got rid of fgPlatformGlutLayerGet as we'll never implement layer support (added some notes too) added note about implementability of glutGetModeValues Moved joystick function from misc to Joystick code file
dcnieho
2012-03-10 03:07:13 +00:00
8197972757XParseGeometry include now compiles with windows (VS2010, didn't touch cmake) Various typos in comments Some other cleanup and formatting glutInitDisplayString now understands "borderless"
dcnieho
2012-03-10 02:03:32 +00:00
4ce337a008Include xparsegeometry_repl.h header on non-X11 targets
beuc
2012-03-09 21:02:20 +00:00
d06a04e27eMake XParseGeometry reusable by several ports (3)
beuc
2012-03-09 20:54:03 +00:00
3ab598b0fbMake XParseGeometry reusable by several ports (2)
beuc
2012-03-09 20:48:03 +00:00
426ce85a73Make XParseGeometry reusable by several ports
beuc
2012-03-09 20:46:15 +00:00
11a4f362e1Add CMake toolchain script for mingw32/64 compilation, and update documentation
beuc
2012-03-09 20:34:51 +00:00
e3c597fe0dSpecify libraries for windows static compilation
beuc
2012-03-09 20:33:54 +00:00
208fc83528CMake now defines HAVE_VFPRINTF for windows; suppress redefinition warning
beuc
2012-03-09 20:29:58 +00:00
132ca5afcbDetect vfprintf (used in fgError/fgWarning)
beuc
2012-03-09 20:20:20 +00:00
d93aff53ecFix .so dependencies: reference -lGL and -lm; only reference -lGLU for demos (Resizer)
beuc
2012-03-09 20:02:30 +00:00
cd204c47f8Properly add maths library for demos
beuc
2012-03-09 19:49:49 +00:00
fb34e2f593Add maths library for demos
beuc
2012-03-09 19:24:57 +00:00
6f04edd242just a bit of formatting, mostly to test out my SVN commit access
dcnieho
2012-03-08 02:23:21 +00:00
2774b223ffA bit of comment clean-up per e-mail from Diederick Niehorster dated 2/5/12 at 9:26 AM
fayjf
2012-02-25 06:06:52 +00:00
9c6c6850d0Implementing the monotonic clock if available, per e-mail from Phil Vandry dated 2/17/12 at 5:08 PM
fayjf
2012-02-25 05:47:57 +00:00
84d7d3bf86Checking for "gettimeofday" per e-mail from John Tsiombikas dated 2/23/12 at 9:29 AM
fayjf
2012-02-25 05:34:24 +00:00
2f7431648dMoving some Windows-specific preprocessor stuff and a prototype from "freeglut_init.c" to the Windows header file
fayjf
2012-02-12 04:41:32 +00:00
3eca89fc14Setting the line endings and keywords on a bunch of new text files
fayjf
2012-02-08 02:39:29 +00:00
b40d212cfbPutting in many 'CMakeLists.txt' fixes per e-mail from John Tsiombikas dated February 6, 2012 at 4:38 AM
fayjf
2012-02-07 01:56:50 +00:00
d0446f782eFixing a build warning in OpenSUSE about control reaching the end of a non-void function; see e-mail from Johannes Obermayr dated February 6, 2012 at 9:40 AM
fayjf
2012-02-07 01:52:10 +00:00
4ed29b6832Fixing confusion over the name of "fgPlatformGetGLUTProcAddress"
fayjf
2012-02-06 02:26:18 +00:00
55d47574bbFixing the rest of the "EXTRA_DIST" bug per e-mail from Sylvain dated Feb 5, 2012 at 2:10 PM
fayjf
2012-02-05 20:21:42 +00:00
87d49928cfAdding a bit of documentation for MinGW that was left off the previous SVN commit
fayjf
2012-02-05 19:36:27 +00:00
f46f59d7e3Fixing the MinGW build and updating the "omitted files" per e-mail from Sylvain dated February 5, 2012 at 12:33 PM
fayjf
2012-02-05 19:34:08 +00:00
beada8854aFixing call to "fghGetProcAddress" by giving the new name of the function
fayjf
2012-02-05 19:00:31 +00:00
57992745fbSplitting the X11-specific "freeglut_cursor.c" code into its own file
fayjf
2012-02-05 14:04:48 +00:00
76c04a50f6Moving the platform dependencies from the "freeglut_menu.c" file to the platform-specific header files
fayjf
2012-02-05 14:01:34 +00:00
a20f647aa4Removing an extraneous "#if TARGET_HOST"
fayjf
2012-02-05 13:53:31 +00:00
44b2dd8c3bMoving an X11-specific function call to destroy a context to the X11-specific file
fayjf
2012-02-05 13:53:00 +00:00
1bcc27f30cSplitting the X11-specific stuff out of "freeglut_internal.h" into its own file per e-mail from Diederick Niehorster dated 2/4/12 at 11:31 PM (he sent it on 2/5/12)
fayjf
2012-02-05 05:54:30 +00:00
a370bd34d2Removing an extraneous "#if TARGET_HOST_POSIX_X11" and putting the path into the "#include" statements for "freeglut_internal.h"
fayjf
2012-02-05 04:21:26 +00:00
1077bc750dSplitting the X11-specific "freeglut_structure.c" code into its own file
fayjf
2012-02-05 04:18:13 +00:00
935f9af513Splitting the X11-specific "freeglut_ext.c" code into its own file
fayjf
2012-02-05 04:16:37 +00:00
ba766a7ef0Splitting the X11-specific "freeglut_joystick.c" code into its own file
fayjf
2012-02-05 04:13:31 +00:00
d895defd48Removing an extraneous "#if" from "freeglut_xinput_x11.c"
fayjf
2012-02-05 04:08:55 +00:00
205e95320bSplitting the X11-specific "freeglut_spaceball.c" code into its own file
fayjf
2012-02-05 04:04:28 +00:00
9f0610a457Splitting the X11-specific "freeglut_main.c" code into its own file
fayjf
2012-02-05 03:44:03 +00:00