Skip to content

Commit

Permalink
fix demo fonts
Browse files Browse the repository at this point in the history
  • Loading branch information
aszabo314 committed Sep 23, 2024
1 parent 9588854 commit b63f5e1
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
### 0.2.2
* updated dependencies (base, rendering, Minicv)
* updated dependencies (base, rendering, Minicv).

### 0.2.1
* updated dependencies (rendering)
Expand Down
4 changes: 2 additions & 2 deletions src/Epipolar.Demo/ArbDemo.fs
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ module ArbDemo =
| 5 -> "P6P"
| _ -> "?"
)
Sg.text FontSquirrel.HamburgerHeaven.Regular C4b.White t
Sg.text DefaultFonts.Hack.Regular C4b.White t
|> Sg.scale 0.1
|> Sg.translate -0.9 -0.9 0.0
|> Sg.viewTrafo (AVal.constant Trafo3d.Identity)
Expand Down Expand Up @@ -274,7 +274,7 @@ module ArbDemo =
| 3 -> n
| _ -> "?"
) current name
Sg.text FontSquirrel.HamburgerHeaven.Regular C4b.White t
Sg.text DefaultFonts.Hack.Regular C4b.White t
|> Sg.scale 0.1
|> Sg.translate -0.9 -0.9 0.0
|> Sg.viewTrafo ~~Trafo3d.Identity
Expand Down
2 changes: 1 addition & 1 deletion src/Epipolar.Demo/FundamentalChecker.fs
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ module Testy =
do! DefaultSurfaces.diffuseTexture
do! DefaultSurfaces.simpleLighting
}
let font = FontSquirrel.Indubitably.Regular
let font = DefaultFonts.Hack.Regular
let leftTextSg =
//Sg.empty
Sg.text font C4b.White leftText
Expand Down
6 changes: 3 additions & 3 deletions src/Epipolar.Demo/PerfectDemos.fs
Original file line number Diff line number Diff line change
Expand Up @@ -133,14 +133,14 @@ module Testy2 =
| 5 -> "P6P"
| _ -> "?"
)
Sg.text FontSquirrel.HamburgerHeaven.Regular C4b.White t
Sg.text DefaultFonts.Hack.Regular C4b.White t
|> Sg.scale 0.1
|> Sg.translate -0.9 -0.9 0.0
|> Sg.viewTrafo ~~Trafo3d.Identity
|> Sg.projTrafo ~~Trafo3d.Identity

let printText =
Sg.text FontSquirrel.HamburgerHeaven.Regular C4b.White ~~ostr
Sg.text DefaultFonts.Hack.Regular C4b.White ~~ostr
|> Sg.scale 0.05
|> Sg.translate -0.9 0.9 0.0
|> Sg.viewTrafo ~~Trafo3d.Identity
Expand Down Expand Up @@ -471,7 +471,7 @@ module Testy2 =
| 5 -> "P6P"
| _ -> "?"
)
Sg.text FontSquirrel.HamburgerHeaven.Regular C4b.White t
Sg.text DefaultFonts.Hack.Regular C4b.White t
|> Sg.scale 0.1
|> Sg.translate -0.9 -0.9 0.0
|> Sg.viewTrafo ~~Trafo3d.Identity
Expand Down
4 changes: 2 additions & 2 deletions src/ModelEstimation.Demo/ArbDemo.fs
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ module ArbDemo =
| 5 -> "P6P"
| _ -> "?"
)
Sg.text FontSquirrel.Hack.Regular C4b.White t
Sg.text DefaultFonts.Hack.Regular C4b.White t
|> Sg.scale 0.1
|> Sg.translate -0.9 -0.9 0.0
|> Sg.viewTrafo ~~Trafo3d.Identity
Expand Down Expand Up @@ -273,7 +273,7 @@ module ArbDemo =
| 3 -> n
| _ -> "?"
) current name
Sg.text FontSquirrel.Hack.Regular C4b.White t
Sg.text DefaultFonts.Hack.Regular C4b.White t
|> Sg.scale 0.1
|> Sg.translate -0.9 -0.9 0.0
|> Sg.viewTrafo ~~Trafo3d.Identity
Expand Down

0 comments on commit b63f5e1

Please sign in to comment.