Giter Site home page Giter Site logo

rtm's Introduction

CLA assistant Build status Build Status Sonar Status GitHub release GitHub license

Realtime Math

This library is geared towards realtime applications that require their math to be as fast as possible. Much care was taken to maximize inlining opportunities and for code generation to be optimal when a function isn't inlined by passing values in registers whenever possible. It contains 3D and 4D arithmetic commonly used in video games and realtime applications.

It offers an alternative to GLM and DirectX Math. See here for a comparison with similar libraries.

Philosophy

Much thought was put into designing the library for it to be as flexible and powerful as possible. To this end, the following decisions were made:

  • The library consists of 100% C++11 header files and is thus easy to integrate in any project
  • The interface follows C-style conventions to ensure optimal code generation
  • Both float32 and float64 arithmetic are supported
  • Row vectors are used
  • See here for more details

Supported platforms

  • Windows VS2015 x86 and x64
  • Windows VS2017/2019 x86, x64, and ARM64*
  • Linux (gcc5, gcc6, gcc7, gcc8, gcc9) x86 and x64
  • Linux (clang4, clang5, clang6, clang7, clang8, clang9) x86 and x64
  • OS X (Xcode 8.3, 9.4, 10.3) x86 and x64
  • OS X (Xcode 11.2) x64
  • Android (NVIDIA CodeWorks with clang5) ARMv7-A and ARM64
  • iOS (Xcode 8.3, 9.4, 10.3, 11.2) ARM64

The above supported platform list is only what is tested every release but if it compiles, it should work just fine.

Note: VS2017 and VS2019 compile with ARM64 on AppVeyor but I have no device to test them with.

Getting started

This library is 100% headers as such you just need to include them in your own project to start using it. However, if you wish to run the unit tests or to contribute to RTM head on over to the getting started section in order to setup your environment and make sure to check out the contributing guidelines.

External dependencies

You don't need anything else to get started: everything is self contained. See here for details.

License, copyright, and code of conduct

This project uses the MIT license.

Copyright (c) 2018 Nicholas Frechette & Realtime Math contributors

This project was started from the math code found in the Animation Compression Library v1.1.0 and it retains the copyright of the original contributors.

Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.

rtm's People

Contributors

nfrechette avatar codydwjones avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.