summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJacob Reckhard <[email protected]>2022-09-08 21:05:51 -0600
committerJacob Reckhard <[email protected]>2022-09-08 21:05:51 -0600
commit7faafbf8fd988baf1502a258ffe0fe8eaa0363a1 (patch)
treed489ca5b048a3a10bb1f3feda01f4e799affb703
parent05af9d91093997bda24410faa715c99066fbf620 (diff)
downloadraylib.com-7faafbf8fd988baf1502a258ffe0fe8eaa0363a1.tar.gz
raylib.com-7faafbf8fd988baf1502a258ffe0fe8eaa0363a1.zip
seperated math from main cheatsheet
-rw-r--r--cheatsheet/cheatsheet.html18
-rw-r--r--cheatsheet/raymath_cheatsheet.html123
2 files changed, 133 insertions, 8 deletions
diff --git a/cheatsheet/cheatsheet.html b/cheatsheet/cheatsheet.html
index e16d8cf..408825e 100644
--- a/cheatsheet/cheatsheet.html
+++ b/cheatsheet/cheatsheet.html
@@ -41,6 +41,7 @@
#fulldata{width: 1315px!important;}
.eximage img{margin: 0 auto; border: 1px solid; border-color: black; width:770px; height:auto;}
p{font-family: grixel_acme_7_wide_xtnd, Courier New, Verdana, Arial; font-size:13px; line-height:24px;}
+ a{font-family: grixel_acme_7_wide_xtnd, Courier New, Verdana, Arial; font-size:13px; line-height:24px;}
pre code{font-family: Courier New; font-size:12px; width: auto!important; border: 1px solid; border-color:#b0b0b0; width:758px; height:auto; }
.exdownbtn{
width:250px; height:30px; float:left; position: relative; cursor:pointer; font-weight:bold; font-size:10px;
@@ -56,7 +57,6 @@
#audio pre code{border:10px solid; border-color:#d3b157; background-color:#e5d7ae; }
#structs pre code{border:10px solid; border-color:#d2c9c6; background-color:#f8f8ff;}
#colors pre code{border:10px solid; border-color:#c6d2c6; background-color:#e9f1f2;}
- #math pre code{border:10px solid; border-color:#c170ff; background-color:#deb3ff; }
#logo{width:128px; height:128px; float:left; position:relative; background-image:url(../common/img/raylib_logo.png);}
#header{position:relative; height:110px; width: 1000px;}
#title, #plinks, #version{position:relative; float:left; margin:0px; margin-left:10px; margin-top:10px;}
@@ -72,7 +72,6 @@
#paudio{margin-bottom:-12px; margin-left:12px; color:#8c7539;}
#pstructs{margin-bottom:-12px; margin-left:12px; color:#bcbccd;}
#pcolors{margin-bottom:-12px; margin-left:12px; color:#bcbccd;}
- #pmath{margin-bottom:-12px; margin-left:12px; color:#9d1cff;}
#fullgroup{
display: grid;
@@ -121,10 +120,6 @@
$('#structs pre code').text(data);
$('#structs pre code').each(function(i, e) {hljs.highlightBlock(e)});
}, 'text');
- $.get('raylib_math.c', function(data) {
- $('#math pre code').text(data);
- $('#math pre code').each(function(i, e) {hljs.highlightBlock(e)});
- }, 'text');
});
</script>
</head>
@@ -162,14 +157,21 @@
<div id="colors"><pre><code class="cpp"></code></pre></div>
</div>
</div>
- <p id="pmath">module: rmath</p>
- <div id="math"><pre><code class="cpp"></code></pre></div>
+
+ <p>Other cheatsheets</p>
+ <ul>
+ <li>
+ <a href="/cheatsheet/raymath_cheatsheet.html">raymath cheatsheet</a>
+ </li>
+ </ul>
+
<div id="copyright">
<p>raylib quick reference card - Copyright (c) 2013-2022 Ramon Santamaria (<a href="https://www.twitter.com/raysan5">@raysan5</a>)</p>
</div>
</div>
+
<!-- Google Analytics tracking code -->
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
diff --git a/cheatsheet/raymath_cheatsheet.html b/cheatsheet/raymath_cheatsheet.html
new file mode 100644
index 0000000..a4692c3
--- /dev/null
+++ b/cheatsheet/raymath_cheatsheet.html
@@ -0,0 +1,123 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <meta charset="utf-8">
+ <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
+
+ <title>raylib - cheatsheet</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+
+ <meta name="title" content="raylib - cheatsheet">
+ <meta name="description" content="raylib is a simple and easy-to-use library to enjoy videogames programming. Don't miss latest functions added to raylib... check raylib cheatsheet">
+ <meta name="keywords" content="raylib, videogames, programming, C, C++, library, learn, study, simple, easy, free, open source, raysan">
+ <meta name="viewport" content="width=device-width">
+
+ <!-- Open Graph metatags for sharing -->
+ <meta property="og:title" content="raylib - cheatsheet"/>
+ <meta property="og:image" content="https://www.raylib.com/common/img/raylib_logo_card.png"/>
+ <meta property="og:url" content="https://www.raylib.com" />
+ <meta property="og:site_name" content="raylib"/>
+ <meta property="og:description" content="Don't miss latest functions added to raylib... check raylib cheatsheet"/>
+
+ <!-- Add jQuery library -->
+ <script type="text/javascript" src="https://code.jquery.com/jquery-latest.min.js"></script>
+
+ <!-- hightlight.js - Syntax highlighting for the Web -->
+ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.1/styles/docco.min.css">
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.1/highlight.min.js"></script>
+
+ <style type="text/css">
+ @font-face {
+ font-family: 'grixel_acme_7_wide_xtnd';
+ src: url('../common/font/acme_7_wide_xtnd.eot');
+ src: url('../common/font/acme_7_wide_xtnd.eot?#iefix') format('embedded-opentype'),
+ url('../common/font/acme_7_wide_xtnd.woff') format('woff'),
+ url('../common/font/acme_7_wide_xtnd.ttf') format('truetype');
+ font-weight: normal;
+ font-style: normal;
+ font-size-adjust:0.49;
+ }
+ body{background-color:#f5f5f5;}
+ #fulldata{width: 1315px!important;}
+ .eximage img{margin: 0 auto; border: 1px solid; border-color: black; width:770px; height:auto;}
+ p{font-family: grixel_acme_7_wide_xtnd, Courier New, Verdana, Arial; font-size:13px; line-height:24px;}
+ a{font-family: grixel_acme_7_wide_xtnd, Courier New, Verdana, Arial; font-size:13px; line-height:24px;}
+ pre code{font-family: Courier New; font-size:12px; width: auto!important; border: 1px solid; border-color:#b0b0b0; width:758px; height:auto; }
+ .exdownbtn{
+ width:250px; height:30px; float:left; position: relative; cursor:pointer; font-weight:bold; font-size:10px;
+ line-height:30px; text-align: center; border-width:5px; background-color:#e1e1e1; color:#5c5a5a;
+ border:4px solid #898888; font-family: grixel_acme_7_wide_xtnd, Courier New, Verdana, Arial;
+ }
+ .exdownbtn:hover{background-color:#f0d6d6; color:#c55757; border:4px solid #e66666;}
+ #math pre code{border:10px solid; border-color:#c170ff; background-color:#deb3ff; }
+ #logo{width:128px; height:128px; float:left; position:relative; background-image:url(../common/img/raylib_logo.png);}
+ #header{position:relative; height:110px; width: 1000px;}
+ #title, #plinks, #version{position:relative; float:left; margin:0px; margin-left:10px; margin-top:10px;}
+ #plinks{color: gray;}
+ #plinks a, #copyright a{color: gray; text-decoration:none;}
+ #plinks a:hover{color: black;}
+ #version {margin-top: 23px; width:500px;}
+ #pmath{margin-bottom:-12px; margin-left:12px; color:#9d1cff;}
+
+ #fullgroup{
+ display: grid;
+ grid-column-gap: 20px;
+ grid-template-columns: auto auto;
+ }
+
+ #copyright p{color:#8b8b8b; font-size:10px}
+ #copyright a:hover{color:black;}
+
+ #downpdf{text-decoration: none;color:#aaaaaa;}
+ #downpdf:hover{color:#444;}
+ </style>
+
+ <script type="text/javascript">
+ $(document).ready(function() {
+ $.get('raylib_math.c', function(data) {
+ $('#math pre code').text(data);
+ $('#math pre code').each(function(i, e) {hljs.highlightBlock(e)});
+ }, 'text');
+ });
+ </script>
+ </head>
+
+ <body>
+ <div id="header">
+ <a id="logo" href="https://www.raylib.com/index.html"></a>
+ <p id="title">A simple and easy-to-use library to enjoy videogames programming</p>
+ <p id="plinks">[<a href="https://discord.gg/raylib">raylib Discord server</a>][<a href="https://github.com/raysan5/raylib">github.com/raysan5/raylib</a>][<a href="https://github.com/raysan5/raylib/blob/master/src/raylib.h">raylib.h</a>]</p>
+ <p></p>
+ <p id="version">v4.2 quick reference card [<a id="downpdf" href="https://www.raylib.com/cheatsheet/raylib_cheatsheet_v4.2.pdf">download as PDF</a>]</p>
+ </div>
+ <br>
+ <div id="fulldata">
+ <p id="pmath">module: rmath</p>
+ <div id="math"><pre><code class="cpp"></code></pre></div>
+
+ <p>Other cheatsheets</p>
+ <ul>
+ <li>
+ <a href="/cheatsheet/cheatsheet.html" id="">raylib cheatsheet</a>
+ </li>
+ </ul>
+
+ <div id="copyright">
+ <p>raylib quick reference card - Copyright (c) 2013-2022 Ramon Santamaria (<a href="https://www.twitter.com/raysan5">@raysan5</a>)</p>
+ </div>
+ </div>
+
+
+ <!-- Google Analytics tracking code -->
+ <script>
+ (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+ m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+ })(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
+
+ ga('create', 'UA-45733555-1', 'raylib.com');
+ ga('require', 'linkid', 'linkid.js');
+ ga('send', 'pageview');
+ </script>
+ </body>
+</html>