All Content
Blogs
Forums
News
Tutorials
Log In
Sign Up
Login
Username / Email
Password
Remember me
Forgot password?
Login
or
Don't have a GameDev.net account?
Sign up
Forgot your password?
Email Address
Reset Password
Please contact us if you have any trouble resetting your password.
Home
Blogs
Forums
News
Portfolios
Projects
Tutorials
31
users logged in
New?
Learn about game development
.
Before posting, review our
community guidelines
.
Follow Us
Chat in the
GameDev.net Discord!
Mastodon
Back to Math and Physics
Simple math on scaling
Math and Physics
Programming
Started by
Muzzy A
July 11, 2012 11:14 PM
1
comment, last by
Faelenor
11 years, 10 months ago
Muzzy A
737
Author
July 11, 2012 11:14 PM
EDIT: I apologize, problem solved.
Cancel
Save
Advertisement
Brother Bob
10,350
July 11, 2012 11:18 PM
The size of the bar, or the difference between min and max, is diff=max-min. The point you're after is diff*ratio away from the start point towards the end point. That is, the bar is at min+diff*ratio.
Cancel
Save
Faelenor
396
July 12, 2012 03:48 PM
Don't edit your post to remove the initial question!
Cancel
Save
This topic is closed to new replies.
Advertisement
Popular Topics
Avoiding other units without using pathfinding
General and Gameplay Programming
Quake 1 source code triangle rasterization
General and Gameplay Programming
D3D12 Alpha blending not working both ways
Graphics and GPU Programming
AABB collision
For Beginners
Post-Newtonian general relativity
Math and Physics
ARM64 Native Calling Convention Return Issue on Apple Silicon
AngelCode
Advertisement
Recommended Tutorials
The Lua Tutorial
General and Gameplay Programming
Direct3D Without All The Garbage
Graphics and GPU Programming
Parallel Algorithm Framework
General and Gameplay Programming
Games and the Imagination Part II
Game Design and Theory
PocketPC: An Introduction
General and Gameplay Programming
Reticulating splines
About GameDev.net
Community Guidelines
Terms of Service
Privacy Policy
Contact Us
Copyright (c) 1999-2024 GameDev.net, LLC
Back to Top