Skip to content

Commit

Permalink
Fixed depth type.
Browse files Browse the repository at this point in the history
  • Loading branch information
Barbelot committed Mar 31, 2020
1 parent 7a260ff commit e7026b0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions Assets/Scripts/CameraController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,9 @@ public void SwitchToOrthographic() {
SetDistanceFromAreaSize();
}

/// <summary>
/// Load PlayerPrefs
/// </summary>
void LoadPlayerPrefs() {

//Camera projection type
Expand All @@ -264,6 +267,9 @@ void LoadPlayerPrefs() {

}

/// <summary>
/// Save to PlayerPrefs
/// </summary>
void SavePlayerPrefs() {

//Camera projection type
Expand Down
2 changes: 1 addition & 1 deletion Assets/Scripts/PointManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -745,7 +745,7 @@ public void SendAugmentaMessage(string address, GameObject obj)
msg.Append(-behaviour.normalizedVelocity.x);
msg.Append(-behaviour.normalizedVelocity.z);

msg.Append(0);
msg.Append(0.0f);

//Bounding
msg.Append(pointX - behaviour.size.x * 0.5f / width);
Expand Down

0 comments on commit e7026b0

Please sign in to comment.