templeos-info/public/src/Home/Doc/D3.DD.HTML

39 lines
1.7 KiB
Plaintext
Raw Normal View History

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="generator" content="TempleOS V5.03">
<link rel="stylesheet" href="/style/templeos.css">
<script src="/script/templeos.js"></script>
<style type="text/css">
.cF0{color:#000000;background-color:#ffffff;}
.cF1{color:#0000aa;background-color:#ffffff;}
.cF2{color:#00aa00;background-color:#ffffff;}
.cF3{color:#00aaaa;background-color:#ffffff;}
.cF4{color:#aa0000;background-color:#ffffff;}
.cF5{color:#aa00aa;background-color:#ffffff;}
.cF6{color:#aa5500;background-color:#ffffff;}
.cF7{color:#aaaaaa;background-color:#ffffff;}
.cF8{color:#555555;background-color:#ffffff;}
.cF9{color:#5555ff;background-color:#ffffff;}
.cFA{color:#55ff55;background-color:#ffffff;}
.cFB{color:#55ffff;background-color:#ffffff;}
.cFC{color:#ff5555;background-color:#ffffff;}
.cFD{color:#ff55ff;background-color:#ffffff;}
.cFE{color:#ffff55;background-color:#ffffff;}
.cFF{color:#ffffff;background-color:#ffffff;}
</style>
</head>
<body>
<pre style="font-family:courier;font-size:10pt">
<a name="l1"></a><span class=cF0>TempleOS has a class for 3 dimensional points consisting of F64s. HolyC is not
<a name="l2"></a>C++ -- it does not support passing or returning values from functions which are
<a name="l3"></a>not 64-bits, therefore, it can't be implemented with operator overloading.
<a name="l4"></a>Making all function args and returns 64-bit is a core prinicple of TempleOS.
<a name="l5"></a>
<a name="l6"></a>As a courtesy, most of the CD3 functions return the addr of the destination
<a name="l7"></a>vect, so you can nestle calls. They do not alloc new space for the destination
<a name="l8"></a>vect.
</span></pre></body>
</html>