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
19
users logged in
Proud partner of GDC 2025
New?
Learn about game development
.
Before posting, review our
community guidelines
.
Support GameDev.net with a monthly
GDNet+ subscription
!
Follow Us
Chat in the
GameDev.net Discord!
Back to Math and Physics
Advertisement
Simple math on scaling
Math and Physics
Programming
Started by
Muzzy A
July 11, 2012 11:14 PM
1
comment, last by
Faelenor
12 years, 7 months ago
Muzzy A
Author
737
July 11, 2012 11:14 PM
EDIT: I apologize, problem solved.
Cancel
Save
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
Advertisement
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
C++ pointers that are released upon going out of scope
General and Gameplay Programming
Another better idea than GTA (change my mind)
GDNet Lounge
computer malfunction in visual studio 1&0 != 0!!!
General and Gameplay Programming
click and drag sprite
For Beginners
How to Resolve This Normal Issue?
Graphics and GPU Programming
Returning an object on the stack in a variadic function causes a crash
AngelCode
Advertisement
Recommended Tutorials
Using XML Technologies for Enhancing Log Files
General and Gameplay Programming
Unity DOTS Life Tutorial entities 0.4.0 #4 Interfacing ECS and GameObjects : Update Entities 0.8.0
Engines and Middleware
Java Games: Keyboard and Mouse
General and Gameplay Programming
Mounting Script
Engines and Middleware
Designing a Robust Input Handling System for Games
General and Gameplay Programming
Advertisement
Reticulating splines
About GameDev.net
Community Guidelines
Terms of Service
Privacy Policy
Contact Us
Copyright (c) 1999-2025 GameDev.net, LLC
Back to Top