egoboo / idlib

C++ utility library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Idlib

Idlib is a C++17 cross-platform utility library for Windows, Linux, and OS X. Idlib and is made available publicly under the MIT license on Github.

The library was built and used under Windows/Visual Studio 2017, Linux/GCC 6, Linux/Clang, and OS X/Clang.

Visit the Idlib Gitter channel for more information.

Featurette

  • CMake-based build system builds under Windows/Visual Studio, Cygwin/GCC, Linux/GCC and OS X/Clang
  • Google Test integration for Visual Studio
  • math
    • generic vectors of arbitrary dimensions for all floating-point types
    • generic matrices of arbitrary number of rows and columns for all floating-point types
    • generic geometric primitives (points, lines, rays, aabbs, …) of arbitrary dimensions for all floating-point types
    • translation transformations of geometric primitives
    • coming soon:
      • full support for all standard transformations (scale, shear, rotation, …)
      • viewing and projection transformations (“look at”, “perspective projection”, orthographic projection”)
    • colors RGB and RGBA colors for all floating-point types and for Bytes
    • file system abstraction on Windows, Linux, OS X
    • reading and writing files using memory mappings
    • creating/copying/deleting files and directories
    • enumerating directory contents
    • obtaining file system information (e.g. application data directories)
  • Byte-order detection and conversion
  • parsing template-metafunction parser-builder for Parsing Expression Grammars
  • signals and slots type-safe signals-slots
  • misc. C++ utilities
    • transform iterators
    • singletons with sub-typing
    • iterator ranges
    • sub-range values

Build instructions

Download or checkout the source code from https://primordialmachine.com/idlib/. See below for build instructions for some of the individual environments.

Continuous Integrations Status Maxtrix

master develop
Travis Build Status Build Status
AppVeyor Build status Build status

About

C++ utility library

License:MIT License


Languages

Language:C++ 96.3%Language:CMake 2.9%Language:C 0.7%