Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Trims trailing whitespace.
Pedantic, I'm aware, but most editors do this automatically.  Submitting
this in a separate commit will make future diffs more legible.
  • Loading branch information
Joshua Appelman committed Jun 16, 2014
commit 0cb99ebdb2e980b19303454a97487934572c4039
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ All mathbox arguments are optional. The following options are available for conf
```javascript
{
// Whether to allow mouse control of the camera.
cameraControls: true,
cameraControls: true,
// Override the class to use for mouse controls.
controlClass: ThreeBox.OrbitControls,
// Whether to show the mouse cursor.
Expand All @@ -176,12 +176,12 @@ All mathbox arguments are optional. The following options are available for conf
// Whether to track resizing of the containing element.
elementResize: true,
// Enable fullscreen mode with 'f' (browser support is buggy)
fullscreen: true,
fullscreen: true,
// Render at scaled resolution, e.g. scale 2 is half the width/height.
// Fractional values allowed.
scale: 1,
scale: 1,
// Enable screenshot taking with 'p'
screenshot: true,
screenshot: true,
// Show FPS stats in the corner
stats: true,
}
Expand Down Expand Up @@ -264,7 +264,7 @@ Each mathbox scene has an associated viewport. This sets up a specific mathemati

The following viewport types are available:

__Cartesian__
__Cartesian__
Regular linear XYZ.

```javascript
Expand All @@ -277,7 +277,7 @@ Regular linear XYZ.
})
```

__Projective__
__Projective__
Applies a 4x4 homogeneous/projective transform.

```javascript
Expand All @@ -294,7 +294,7 @@ Applies a 4x4 homogeneous/projective transform.
})
```

__Polar__
__Polar__
Polar coordinate grid in radians. X is angle, Y is radius, Z is ordinary depth.
Also useful for visualizing complex operations in polar representation.

Expand All @@ -312,7 +312,7 @@ Also useful for visualizing complex operations in polar representation.
})
```

__Sphere__
__Sphere__
Spherical coordinate grid in radians. X is longitude, Y is latitude, Z is radius.

```javascript
Expand Down