Skip to content

Commit

Permalink
Fixed misspelled token in output example and bumped res.
Browse files Browse the repository at this point in the history
  • Loading branch information
virtualritz committed Nov 12, 2023
1 parent 35f4be8 commit 102799a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/output/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ pub fn main() {
// rendered.
// Bucket size is commonly 16x16 pixels but this is not guaranteed
// by the API.
// The pixel_data will contain a full buffer of all the pixel that
// The pixel_data will contain a full buffer of all the pixels that
// were finished so far.
let write = nsi::output::WriteCallback::new(
|_name: &str,
Expand Down
4 changes: 2 additions & 2 deletions examples/output/render.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ fn nsi_camera<'a>(
c.set_attribute(
"camera_xform",
&[nsi::double_matrix!(
"TRANSFORMationmatrix",
"transformationmatrix",
&[1., 0., 0., 0., 0., 1., 0., 0., 0., 0., 1., 0., 0., 0., 5., 1.,]
)],
);
Expand All @@ -32,7 +32,7 @@ fn nsi_camera<'a>(
c.set_attribute(
"screen",
&[
nsi::integers!("resolution", &[32, 32]).array_len(2),
nsi::integers!("resolution", &[128, 128]).array_len(2),
nsi::integer!("oversampling", 32),
],
);
Expand Down

0 comments on commit 102799a

Please sign in to comment.