GithubHelp home page GithubHelp logo

nshen / coral Goto Github PK

View Code? Open in Web Editor NEW

This project forked from richardlord/coral

0.0 3.0 0.0 396 KB

A library of Actionscript 3 classes for 3D Mathematics.

Home Page: http://www.richardlord.net/blog/introducing-coral-an-actionscript-library-for-3d-math

License: Other

ActionScript 100.00%

coral's Introduction

This is a modified version of Coral

Here is the what I have done:

Point3d :

I removied this class,becaust I think it is wasting time to convert between point and vector,and most library dont do that.

Vector3d :

  • add angleBetween() static method.
  • add projectOnto() method.
  • add scalarTripleProduct() method.
  • incrementBy method add scale param.

Matrix3d :

  • rewrite newRotation and appendRotation method ,then when you rotate only the X or Y or Z axis will be quicker.
  • add a result parameter to toMatrix3d() method.
  • add a determinant33() getter method.
  • add transformDirection() method.
  • change position getter to getPosition(result) method.

Quaternion :

  • add slerp() method.

I just start to learn Math. If you know something I did is wrong please tell me ,thank you.

coral's People

Contributors

nshen avatar

Watchers

 avatar  avatar  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.