Sha256: 0555f85c0c73696c76cf8561f1059bb5713967f253e8e1c6b3a1b2173199d6da

Contents?: true

Size: 585 Bytes

Versions: 34

Compression:

Stored size: 585 Bytes

Contents

---
layout: page
title:  "Deglut"
permalink: /classes/deglut/
---

Deglut is a fast math module that does sin and cos for integer degrees

Methods:-
```ruby
# Returns sine from integer degree input (uses look up table)
DegLut.sin(deg)
# Returns cosine from integer degree input (uses look up table)
DegLut.cos(deg)
```

Example Usages: [Analog Clock][clock], [Function Grapher][grapher]

[clock]: https://github.com/ruby-processing/picrate-examples/blob/master/library/fastmath/clock.rb
[grapher]: https://github.com/ruby-processing/picrate-examples/blob/master/contributed/grapher.rb

Version data entries

34 entries across 34 versions & 1 rubygems

Version Path
picrate-2.5.2-java docs/_classes/deglut/deglut.md
picrate-2.5.1-java docs/_classes/deglut/deglut.md
picrate-2.5.0-java docs/_classes/deglut/deglut.md
picrate-2.4.2-java docs/_classes/deglut/deglut.md
picrate-2.4.1-java docs/_classes/deglut/deglut.md
picrate-2.4.0-java docs/_classes/deglut/deglut.md
picrate-2.3.0-java docs/_classes/deglut/deglut.md
picrate-2.2.0-java docs/_classes/deglut/deglut.md
picrate-2.1.2-java docs/_classes/deglut/deglut.md
picrate-2.1.1-java docs/_classes/deglut/deglut.md
picrate-2.1.0-java docs/_classes/deglut/deglut.md
picrate-2.0.1-java docs/_classes/deglut/deglut.md
picrate-1.3.0-java docs/_classes/deglut/deglut.md
picrate-2.0.0.pre-java docs/_classes/deglut/deglut.md
picrate-1.2.4-java docs/_classes/deglut/deglut.md
picrate-1.2.3-java docs/_classes/deglut/deglut.md
picrate-1.2.2-java docs/_classes/deglut/deglut.md
picrate-1.2.1-java docs/_classes/deglut/deglut.md
picrate-1.2.0-java docs/_classes/deglut/deglut.md
picrate-1.1.0-java docs/_classes/deglut/deglut.md