Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1012)

Unified Diff: third_party/go/src/golang.org/x/mobile/sprite/clock/clock.go

Issue 1275153002: Remove third_party/golang.org/x/mobile as it is no longer used with Go 1.5. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Remove golang.org/x/mobile Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/go/src/golang.org/x/mobile/sprite/clock/clock.go
diff --git a/third_party/go/src/golang.org/x/mobile/sprite/clock/clock.go b/third_party/go/src/golang.org/x/mobile/sprite/clock/clock.go
deleted file mode 100644
index dc5245abda4af4f0624340276db21f4f6e1c904c..0000000000000000000000000000000000000000
--- a/third_party/go/src/golang.org/x/mobile/sprite/clock/clock.go
+++ /dev/null
@@ -1,26 +0,0 @@
-// Copyright 2014 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// Package clock provides a clock and time functions for a sprite engine.
-package clock // import "golang.org/x/mobile/sprite/clock"
-
-// A Time represents an instant in sprite time.
-//
-// The application using the sprite engine is responsible for
-// determining sprite time.
-//
-// Typically time 0 is when the app is initialized and time is
-// quantized at the intended frame rate. For example, an app may
-// record wall time when it is initialized
-//
-// var start = time.Now()
-//
-// and then compute the current instant in time for 60 FPS:
-//
-// now := clock.Time(time.Since(start) * 60 / time.Second)
-//
-// An application can pause or reset sprite time, but it must be aware
-// of any stateful sprite.Arranger instances that expect time to
-// continue.
-type Time int32
« no previous file with comments | « third_party/go/src/golang.org/x/mobile/gl/types_prod.go ('k') | third_party/go/src/golang.org/x/mobile/sprite/clock/tween.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698