Skip to content

Commit 4929f1f

Browse files
Updates
1 parent d184055 commit 4929f1f

17 files changed

Lines changed: 4495 additions & 17 deletions

assets/index-BWMuc5b_.js

Lines changed: 0 additions & 9 deletions
This file was deleted.
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/index-DhdM6i6g.js

Lines changed: 4382 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/react-CHdo91hT.svg

Lines changed: 0 additions & 1 deletion
This file was deleted.

index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
<meta charset="UTF-8" />
55
<link rel="icon" type="image/png" href="/images/fav.png" />
66
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
7-
<title>ConstCorrectness &copy;</title> <script type="module" crossorigin src="/assets/index-BWMuc5b_.js"></script>
8-
<link rel="stylesheet" crossorigin href="/assets/index-COcDBgFa.css">
7+
<title>ConstCorrectness &copy;</title> <script type="module" crossorigin src="/assets/index-DhdM6i6g.js"></script>
8+
<link rel="stylesheet" crossorigin href="/assets/index-DQ3P1g1z.css">
99
</head>
1010
<body>
1111
<div id="root"></div>

models/HorribleRoom.glb

6.95 MB
Binary file not shown.

notes/config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"version":3,"myst":"1.7.0","options":{},"nav":[],"actions":[],"projects":[{"github":"https://github.com/ConstCorrectness/constcorrectness.github.io","id":"941772cd-3130-4f6e-91e9-09d342b38ce0","exports":[],"bibliography":[],"title":"readme","index":"readme","pages":[]}]}
1+
{"version":3,"myst":"1.7.0","options":{},"nav":[],"actions":[],"projects":[{"title":"ConstCorrectness Notes","github":"https://github.com/constcorrectness/constcorrectness.github.io","id":"941772cd-3130-4f6e-91e9-09d342b38ce0","exports":[],"bibliography":[],"index":"readme","pages":[{"slug":"const-correctness","title":"The Philosophy of Const Correctness","description":"","date":"","thumbnail":"","thumbnailOptimized":"","banner":"","bannerOptimized":"","tags":[],"level":1},{"slug":"intro","title":"Welcome","description":"","date":"","thumbnail":"","thumbnailOptimized":"","banner":"","bannerOptimized":"","tags":[],"level":1},{"slug":"rendering-math","title":"3D Projection Mathematics","description":"","date":"","thumbnail":"","thumbnailOptimized":"","banner":"","bannerOptimized":"","tags":[],"level":1}]}]}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"version":3,"kind":"Notebook","sha256":"00c4d839f7be0d0600a17fc5bd2fe1535e93c1e79b093e36e8077c6ddde00cfd","slug":"const-correctness","location":"/const-correctness.md","dependencies":[],"frontmatter":{"title":"The Philosophy of Const Correctness","kernelspec":{"name":"python3","display_name":"Python 3","language":"python"},"jupytext":{"formats":"md:myst","text_representation":{"extension":".md","format_name":"myst"}},"content_includes_title":false,"github":"https://github.com/constcorrectness/constcorrectness.github.io","exports":[{"format":"md","filename":"const-correctness.md","url":"/const-correctness-b3d753a6430b9c49a7ea09834dc4c357.md"}]},"mdast":{"type":"root","children":[{"type":"block","children":[{"type":"paragraph","position":{"start":{"line":15,"column":1},"end":{"line":15,"column":1}},"children":[{"type":"text","value":"“Const correctness” is more than just a C++ keyword; it is a mindset of designing interfaces that communicate intent.","position":{"start":{"line":15,"column":1},"end":{"line":15,"column":1}},"key":"swqtUDTxuv"}],"key":"AczHSC2pwy"},{"type":"heading","depth":2,"position":{"start":{"line":17,"column":1},"end":{"line":17,"column":1}},"children":[{"type":"text","value":"Why it matters","position":{"start":{"line":17,"column":1},"end":{"line":17,"column":1}},"key":"GBkYbrVUyG"}],"identifier":"why-it-matters","label":"Why it matters","html_id":"why-it-matters","implicit":true,"key":"FcGHivYaNx"},{"type":"paragraph","position":{"start":{"line":19,"column":1},"end":{"line":19,"column":1}},"children":[{"type":"text","value":"When you mark a method as ","position":{"start":{"line":19,"column":1},"end":{"line":19,"column":1}},"key":"YGqCo0mYcF"},{"type":"inlineCode","value":"const","position":{"start":{"line":19,"column":1},"end":{"line":19,"column":1}},"key":"xTwELYKd8I"},{"type":"text","value":", you are making a promise to the compiler and the caller: ","position":{"start":{"line":19,"column":1},"end":{"line":19,"column":1}},"key":"clJypFK6Ug"},{"type":"strong","position":{"start":{"line":19,"column":1},"end":{"line":19,"column":1}},"children":[{"type":"text","value":"“Calling this function will not change the visible state of the object.”","position":{"start":{"line":19,"column":1},"end":{"line":19,"column":1}},"key":"YpX94wLWSI"}],"key":"ugVB2SfFWv"}],"key":"WEhspveWYE"},{"type":"code","lang":"cpp","value":"class Renderer {\npublic:\n // This method promises not to alter the Renderer state\n int getDrawCalls() const { \n return m_drawCalls; \n }\n\n // This method explicitly changes state\n void reset() { \n m_drawCalls = 0; \n }\n\nprivate:\n int m_drawCalls = 0;\n};","position":{"start":{"line":21,"column":1},"end":{"line":36,"column":1}},"key":"aRkn19I8cG"}],"key":"YhEFfjkPGD"}],"key":"wBQLo8UCaV"},"references":{"cite":{"order":[],"data":{}}}}

notes/content/intro.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"version":3,"kind":"Article","sha256":"79ee4a2d06fd38b1a11718e8ddd773545d7b19866b9d9c1cbf7577268a210fd2","slug":"intro","location":"/intro.md","dependencies":[],"frontmatter":{"title":"Welcome","github":"https://github.com/constcorrectness/constcorrectness.github.io","exports":[{"format":"md","filename":"intro.md","url":"/intro-10d5ed23c4616ec1456de9770343aa6c.md"}]},"mdast":{"type":"root","children":[{"type":"block","children":[{"type":"heading","depth":2,"position":{"start":{"line":5,"column":1},"end":{"line":5,"column":1}},"children":[{"type":"text","value":"Technical Notes","position":{"start":{"line":5,"column":1},"end":{"line":5,"column":1}},"key":"LOUxGMcnWV"}],"identifier":"technical-notes","label":"Technical Notes","html_id":"technical-notes","implicit":true,"key":"gC7PeIju17"},{"type":"paragraph","position":{"start":{"line":7,"column":1},"end":{"line":7,"column":1}},"children":[{"type":"text","value":"Welcome to the documentation section of ","position":{"start":{"line":7,"column":1},"end":{"line":7,"column":1}},"key":"XHRWZc7iBn"},{"type":"strong","position":{"start":{"line":7,"column":1},"end":{"line":7,"column":1}},"children":[{"type":"text","value":"ConstCorrectness","position":{"start":{"line":7,"column":1},"end":{"line":7,"column":1}},"key":"Wy73bK42jE"}],"key":"Lbjk4njlHj"},{"type":"text","value":".","position":{"start":{"line":7,"column":1},"end":{"line":7,"column":1}},"key":"Qe3qygllYc"}],"key":"ZaP9ldRFdb"},{"type":"paragraph","position":{"start":{"line":9,"column":1},"end":{"line":9,"column":1}},"children":[{"type":"text","value":"Here you will find longer-form articles, mathematical proofs, and interactive Python notebooks that power the 3D visualizations on the main site.","position":{"start":{"line":9,"column":1},"end":{"line":9,"column":1}},"key":"k2r6vNNAK0"}],"key":"mIW5yNJpwN"},{"type":"heading","depth":3,"position":{"start":{"line":11,"column":1},"end":{"line":11,"column":1}},"children":[{"type":"text","value":"Browse Topics","position":{"start":{"line":11,"column":1},"end":{"line":11,"column":1}},"key":"EnMu8YCB6J"}],"identifier":"browse-topics","label":"Browse Topics","html_id":"browse-topics","implicit":true,"key":"d0SMfOXIrh"},{"type":"list","ordered":false,"spread":false,"position":{"start":{"line":12,"column":1},"end":{"line":13,"column":1}},"children":[{"type":"listItem","spread":true,"position":{"start":{"line":12,"column":1},"end":{"line":12,"column":1}},"children":[{"type":"paragraph","children":[{"type":"strong","position":{"start":{"line":12,"column":1},"end":{"line":12,"column":1}},"children":[{"type":"text","value":"C++ Engineering","position":{"start":{"line":12,"column":1},"end":{"line":12,"column":1}},"key":"urERsEuslq"}],"key":"Zgza2OYQZR"},{"type":"text","value":": Best practices and memory models.","position":{"start":{"line":12,"column":1},"end":{"line":12,"column":1}},"key":"DGDteFowMp"}],"key":"iQeDVb3lYa"}],"key":"gk0L5LtXgP"},{"type":"listItem","spread":true,"position":{"start":{"line":13,"column":1},"end":{"line":13,"column":1}},"children":[{"type":"paragraph","children":[{"type":"strong","position":{"start":{"line":13,"column":1},"end":{"line":13,"column":1}},"children":[{"type":"text","value":"Rendering","position":{"start":{"line":13,"column":1},"end":{"line":13,"column":1}},"key":"axjLlCrAKi"}],"key":"gBUFmQHPeg"},{"type":"text","value":": The math behind the pixels.","position":{"start":{"line":13,"column":1},"end":{"line":13,"column":1}},"key":"yQwPLW9SEN"}],"key":"hthof0ARih"}],"key":"JcEwo3G7KN"}],"key":"hBPZSA0hEV"}],"key":"O6T4WwLGkm"}],"key":"iiGnGpPcqC"},"references":{"cite":{"order":[],"data":{}}}}

notes/content/readme.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"version":3,"kind":"Article","sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","slug":"readme","location":"/README.md","dependencies":[],"frontmatter":{"github":"https://github.com/ConstCorrectness/constcorrectness.github.io","exports":[{"format":"md","filename":"README.md","url":"/README-c6cc75c2543c4043e20ea2a4f6d2c0e2.md"}]},"mdast":{"type":"root","children":[],"key":"JHCi0btpJf"},"references":{"cite":{"order":[],"data":{}}}}
1+
{"version":3,"kind":"Article","sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","slug":"readme","location":"/README.md","dependencies":[],"frontmatter":{"github":"https://github.com/constcorrectness/constcorrectness.github.io","exports":[{"format":"md","filename":"README.md","url":"/README-c6cc75c2543c4043e20ea2a4f6d2c0e2.md"}]},"mdast":{"type":"root","children":[],"key":"jBt4RhZdsH"},"references":{"cite":{"order":[],"data":{}}}}

0 commit comments

Comments
 (0)