File: save_view.cmd

package info (click to toggle)
evolver 2.70+ds-4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 17,148 kB
  • sloc: ansic: 127,395; makefile: 209; sh: 98
file content (18 lines) | stat: -rw-r--r-- 517 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// save_view.cmd

// Surface Evolver command to save the view matrix in a form from which
// it can be read in to restore the view.  
// Requires Evolver version 2.40 or later, since it uses array initialization
// syntax.  Replaces saveview.cmd.

/* Usage:
   Enter command: read "save_view.cmd"
   Enter command: save_view >>> "something.view"
   ...
   Enter command: read "something.view"
*/

// Author: Ken Brakke, brakke@susqu.edu

save_view := {printf "view_matrix := "; print view_matrix }