Skip to content

Commit

Permalink
Add MathJax to Doc
Browse files Browse the repository at this point in the history
  • Loading branch information
li3zhen1 committed Oct 22, 2023
1 parent d1bedb3 commit f4611b5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 2 additions & 1 deletion DocPostprocess.swift
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@ do {
},
svg: {
fontCache: 'global'
}
},
loader: {load: ['ui/lazy']}
};
</script>
<script type="text/javascript" id="MathJax-script" async
Expand Down
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,7 @@ Source code: [ForceDirectedGraph3D/ContentView.swift](https://github.com/li3zhen

> [!IMPORTANT]
> When working with 3D contents, you probably need `Float` types instead of `Double`. The example here manually cast `Double` to `Float`.
> The `float32` branch relaxes the generic constraint from `Scalar == Double` to `Scalar: ExpressibleByFloatLiteral`, which allows you to get out-of-box supports for other floating point types. However, the performance will be downgraded. I’m trying to find a workaround.
> The `float32` branch relaxes the generic constraint from `Scalar == Double` to `Scalar: ExpressibleByFloatLiteral`, which allows you to get out-of-box supports for other floating point types. However, the performance will be downgraded.
<br/>

Expand Down

0 comments on commit f4611b5

Please sign in to comment.